Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoCodec ¶
func (ProtoCodec[T, PT]) MarshalBinary ¶
func (codec ProtoCodec[T, PT]) MarshalBinary(v *T) ([]byte, error)
func (ProtoCodec[T, PT]) UnmarshalBinary ¶
func (codec ProtoCodec[T, PT]) UnmarshalBinary(data []byte) (*T, error)
type ProtoJsonCodec ¶
func (ProtoJsonCodec[T, PT]) MarshalBinary ¶
func (codec ProtoJsonCodec[T, PT]) MarshalBinary(v *T) ([]byte, error)
func (ProtoJsonCodec[T, PT]) UnmarshalBinary ¶
func (codec ProtoJsonCodec[T, PT]) UnmarshalBinary(data []byte) (*T, error)
Click to show internal directories.
Click to hide internal directories.