overflow_subscriber/subscribe_message.go

15 lines
317 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:30:32 +00:00
Targets []string `json:"targets"`
MessageRaw *json.RawMessage `json:"message"`
Message []byte
2017-09-27 07:35:13 +00:00
}
type SubscribeMessageBody struct {
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}