Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decoder ¶
func Decoder(next msg.Receiver) msg.Receiver
Decoder wraps a msg.Receiver with lz4 decoding functionality. It only attempts to decode the Message.Body if Content-Encoding is set to lz4. This should be used in conjuction with the base64 decode decorator, when the message queue doesn't support binary. In this case the base64 decorator should be the outermost decorator in order to run first.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.