Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntEncoder ¶
type IntEncoder struct{}
func (IntEncoder) Decode ¶
func (IntEncoder) Decode(data []byte) (interface{}, error)
func (IntEncoder) Encode ¶
func (IntEncoder) Encode(v interface{}) ([]byte, error)
type JsonSerializer ¶
type JsonSerializer struct{}
func NewJsonSerDes ¶
func NewJsonSerDes() *JsonSerializer
func (*JsonSerializer) Decode ¶
func (s *JsonSerializer) Decode(byt []byte, v interface{}) error
func (*JsonSerializer) Encode ¶
func (s *JsonSerializer) Encode(data interface{}) ([]byte, error)
type StringEncoder ¶
type StringEncoder struct{}
func (StringEncoder) Decode ¶
func (s StringEncoder) Decode(data []byte) (interface{}, error)
func (StringEncoder) Encode ¶
func (s StringEncoder) Encode(v interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.