SubscribeMessage have been added
This commit is contained in:
parent
0e118b7f80
commit
20ad490e27
11
subscribe_message.go
Normal file
11
subscribe_message.go
Normal 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"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user