Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgpackMarshaler ¶
type MsgpackMarshaler struct { }
MsgpackMarshaler msgpack marshaler
func (*MsgpackMarshaler) Marshal ¶
func (m *MsgpackMarshaler) Marshal(v interface{}) ([]byte, error)
Marshal Marshal data model to bytes. Return marshaled bytes and any erro rasied.
func (*MsgpackMarshaler) Unmarshal ¶
func (m *MsgpackMarshaler) Unmarshal(bytes []byte, v interface{}) error
Unmarshal Unmarshal bytes to data model. Parameter v should be pointer to empty data model which data filled in. Return any error raseid.
Click to show internal directories.
Click to hide internal directories.