Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonZlibCompressor ¶
func NewJsonZlibCompressor() gateway.Compression
NewJsonZlibCompressor creates an instance of JsonZlibCompressor
Types ¶
type JsonZlibCompressor ¶
type JsonZlibCompressor struct {
// contains filtered or unexported fields
}
JsonZlibCompressor is the default compression interface.
func (*JsonZlibCompressor) DecodeMessage ¶
func (compressor *JsonZlibCompressor) DecodeMessage(data []byte) (*gatewayTypes.Payload, error)
DecodeMessage decodes messages using the compressor.
func (JsonZlibCompressor) GetConnectionOptions ¶
func (compressor JsonZlibCompressor) GetConnectionOptions() gateway.GatewayConnectionOptions
GetConnectionOptions gets the required options for the gateway.
func (*JsonZlibCompressor) Reset ¶
func (compressor *JsonZlibCompressor) Reset() error
Click to show internal directories.
Click to hide internal directories.