This commit is contained in:
crusader 2017-09-27 17:21:34 +09:00
parent 7cdb00549a
commit c4b9b30ae1

View File

@ -1,8 +1,10 @@
package overflow_subscriber package overflow_subscriber
import "encoding/json"
type SubscribeMessage struct { type SubscribeMessage struct {
Targets []string `json:"targets"` Targets []string `json:"targets"`
Message []byte `json:"message"` Message *json.RawMessage `json:"message"`
} }
type SubscribeMessageBody struct { type SubscribeMessageBody struct {