Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serializer ¶
type SerializerProtobuf ¶
type SerializerProtobuf struct { Codec encoding.Codec Compressor encoding.Compressor }
func NewSerializerProtobuf ¶
func NewSerializerProtobuf(compress bool) *SerializerProtobuf
func (*SerializerProtobuf) Decode ¶
func (s *SerializerProtobuf) Decode(source []byte, destination interface{}) (err error)
func (*SerializerProtobuf) Encode ¶
func (s *SerializerProtobuf) Encode(val interface{}) (res []byte, err error)
Click to show internal directories.
Click to hide internal directories.