Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Name = "msgpack"
Functions ¶
This section is empty.
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.
func (MsgpackCodec) Name ¶
func (c MsgpackCodec) Name() string
Click to show internal directories.
Click to hide internal directories.