overflow_subscriber/subscribe_message.go
crusader 90b8d44773 ing
2017-09-27 17:30:32 +09:00

15 lines
317 B
Go

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