overflow_commons_go/modules/commons/model/PublishMessage.go

12 lines
275 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
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"`
}