SubscribeMessage have been added

This commit is contained in:
crusader 2017-09-27 16:35:13 +09:00
parent 0e118b7f80
commit 20ad490e27

11
subscribe_message.go Normal file
View File

@ -0,0 +1,11 @@
package overflow_subscriber
type SubscribeMessage struct {
Targets []string `json:"targets"`
Message SubscribeMessageBody `json:"message"`
}
type SubscribeMessageBody struct {
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}