overflow_commons_go/modules/commons/model/PublishMessage.go
crusader 597eda88ed ing
2017-12-01 15:04:31 +09:00

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"`
}