12 lines
280 B
Go
12 lines
280 B
Go
package model
|
|
|
|
type PublishMessage struct {
|
|
Targets []string `json:"targets,omitempty"`
|
|
Message *PublishMessageBody `json:"message,omitempty"`
|
|
}
|
|
|
|
type PublishMessageBody struct {
|
|
Method string `json:"method,omitempty"`
|
|
Params []string `json:"params,omitempty"`
|
|
}
|