Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestMessagesEncoding ¶ added in v0.0.27
TestMessagesEncoding tests the input messages if the values encoding persists the same.
Types ¶
type Codec ¶
type Codec interface { Marshal(interface{}) ([]byte, error) Unmarshal([]byte, interface{}) error Encoding() string Name() string }
Codec is an interface for all codecs to implement the
type ProtoMarshaler ¶
ProtoMarshaler is an interface used by the protobuf codec used to custom marshal proto message.
type ProtoUnmarshaler ¶
ProtoUnmarshaler is an interface used for custom unmarshalling proto message.
Click to show internal directories.
Click to hide internal directories.