Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteEncoder ¶
type ByteEncoder struct{}
func (ByteEncoder) Decode ¶
func (b ByteEncoder) Decode(data []byte) (interface{}, error)
func (ByteEncoder) Encode ¶
func (b ByteEncoder) Encode(v interface{}) ([]byte, error)
type FloatEncoder ¶
type FloatEncoder struct{}
func (FloatEncoder) Decode ¶
func (b FloatEncoder) Decode(data []byte) (interface{}, error)
func (FloatEncoder) Encode ¶
func (b FloatEncoder) Encode(v interface{}) ([]byte, error)
type IntEncoder ¶
type IntEncoder struct{}
func (IntEncoder) Decode ¶
func (b IntEncoder) Decode(data []byte) (interface{}, error)
func (IntEncoder) Encode ¶
func (b IntEncoder) Encode(data interface{}) ([]byte, error)
type NoopEncoder ¶
type NoopEncoder struct{}
func (NoopEncoder) Decode ¶
func (_ NoopEncoder) Decode(_ []byte) (interface{}, error)
func (NoopEncoder) Encode ¶
func (_ NoopEncoder) Encode(_ interface{}) ([]byte, error)
type StringEncoder ¶
type StringEncoder struct{}
func (StringEncoder) Decode ¶
func (b StringEncoder) Decode(data []byte) (interface{}, error)
func (StringEncoder) Encode ¶
func (b StringEncoder) Encode(v interface{}) ([]byte, error)
type StructEncoder ¶
func NewStructEncoder ¶
func NewStructEncoder(aStruct reflect.Type) *StructEncoder
func (StructEncoder) Decode ¶
func (s StructEncoder) Decode(data []byte) (interface{}, error)
func (StructEncoder) Encode ¶
func (s StructEncoder) Encode(v interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.