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