overflow_subscriber/subscribe_message.go

14 lines
292 B
Go
Raw Normal View History

2017-09-27 07:35:13 +00:00
package overflow_subscriber
2017-09-27 08:21:34 +00:00
import "encoding/json"
2017-09-27 07:35:13 +00:00
type SubscribeMessage struct {
2017-09-27 08:21:34 +00:00
Targets []string `json:"targets"`
Message *json.RawMessage `json:"message"`
2017-09-27 07:35:13 +00:00
}
type SubscribeMessageBody struct {
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}