Documentation ¶
Index ¶
Constants ¶
View Source
const CodecName = "protobuf"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoCodec ¶
type ProtoCodec struct{}
func (ProtoCodec) Marshal ¶
func (ProtoCodec) Marshal(v interface{}) ([]byte, error)
func (ProtoCodec) Name ¶
func (ProtoCodec) Name() string
func (ProtoCodec) Unmarshal ¶
func (ProtoCodec) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.