diff options
author | Valery Piashchynski <[email protected]> | 2021-05-28 13:19:02 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-28 13:19:02 +0300 |
commit | 0a64bb2a71ddb6b0ee5861e255a20df1327aa099 (patch) | |
tree | 98a607f517706174215b92be8f337d21f918b955 /pkg | |
parent | 5527b31b2da2b60ed8877b8c43badb73f98ec7bb (diff) |
- Tests for the ws-redis, ws-memory
Signed-off-by: Valery Piashchynski <[email protected]>
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) } |