diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/pubsub/message.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/pubsub/message.go b/pkg/pubsub/message.go index 2536aece..17e6780f 100644 --- a/pkg/pubsub/message.go +++ b/pkg/pubsub/message.go @@ -18,6 +18,7 @@ type Msg struct { Payload_ []byte `json:"payload"` } +// MarshalBinary needed to marshal message for the redis func (m *Msg) MarshalBinary() ([]byte, error) { return json.Marshal(m) } |