overflow_subscriber/subscribe_message.go
crusader e457865884 ing
2017-12-09 16:33:48 +09:00

16 lines
357 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 {
Version string `json:"jsonrpc"`
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}