overflow_subscriber/subscribe_message.go
crusader b480f5853e ing
2017-09-27 16:45:37 +09:00

14 lines
292 B
Go

package overflow_subscriber
import "encoding/json"
type SubscribeMessage struct {
Targets []string `json:"targets"`
Message *json.RawMessage `json:"message"`
}
type SubscribeMessageBody struct {
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}