overflow_subscriber/subscribe_message.go
crusader c4b9b30ae1 ing
2017-09-27 17:21:34 +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"`
}