NewMsgPackHandle is a helper function to create a new instance of MsgpackHandle
()
| 29 | |
| 30 | // NewMsgPackHandle is a helper function to create a new instance of MsgpackHandle |
| 31 | func NewMsgPackHandle() *codec.MsgpackHandle { |
| 32 | return &codec.MsgpackHandle{} |
| 33 | } |
| 34 | |
| 35 | // InitMessagePack function initializes MessagePackCodec struct and returns it. |
| 36 | func InitMessagePack() MessagePackCodec { |
no outgoing calls