Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeData ¶
func EncodeData ¶
Types ¶
type MsgpackCodec ¶
type MsgpackCodec struct{}
MsgpackCodec uses messagepack marshaler and unmarshaler.
func (MsgpackCodec) Decode ¶
func (c MsgpackCodec) Decode(data []byte, i interface{}) error
Decode decodes an object from slice of bytes.
func (MsgpackCodec) Encode ¶
func (c MsgpackCodec) Encode(i interface{}) ([]byte, error)
Encode encodes an object into slice of bytes.
Click to show internal directories.
Click to hide internal directories.