Versions in this module Expand all Collapse all v1 v1.0.0 Mar 18, 2020 Changes in this version + type ByteCodec struct + func (c ByteCodec) Decode(data []byte, i interface{}) error + func (c ByteCodec) Encode(i interface{}) ([]byte, error) + type Codec interface + Decode func(data []byte, i interface{}) error + Encode func(i interface{}) ([]byte, error) + type JSONCodec struct + func (c JSONCodec) Decode(data []byte, i interface{}) error + func (c JSONCodec) Encode(i interface{}) ([]byte, error) + type MsgpackCodec struct + func (c MsgpackCodec) Decode(data []byte, i interface{}) error + func (c MsgpackCodec) Encode(i interface{}) ([]byte, error) + type PBCodec struct + func (c PBCodec) Decode(data []byte, i interface{}) error + func (c PBCodec) Encode(i interface{}) ([]byte, error) + type ThriftCodec struct + func (c ThriftCodec) Decode(data []byte, i interface{}) error + func (c ThriftCodec) Encode(i interface{}) ([]byte, error)