Documentation ¶
Overview ¶
Package msgpack implements the Encoder and Decoders for use with the MessagePack format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultMsgPackEncoder provides a package-level json encoder for use. DefaultMsgPackEncoder MsgPackEncoder // DefaultMsgPackTargetDecoder provides a package-level json target decoder for use. DefaultMsgPackTargetDecoder MsgPackUnmarshalDecoder )
Functions ¶
This section is empty.
Types ¶
type MsgPackEncoder ¶
type MsgPackEncoder struct{}
MsgPackEncoder implements a wrapper over the encoding/json MsgPackEncoder to match the Encoder interface. This allow us use MsgPack has a encoder for any method encoding as needed.
type MsgPackUnmarshalDecoder ¶
type MsgPackUnmarshalDecoder struct{}
MsgPackUnmarshalDecoder implements a wrapper over the encoding/json MsgPackEncoder to all incoming data into a interface{} type.
Click to show internal directories.
Click to hide internal directories.