Versions in this module Expand all Collapse all v0 v0.5.3 Jun 19, 2020 Changes in this version + var ErrInvalidKey = errors.New("invalid key") + var ErrNilKey = errors.New("nil key") + var ErrUnsupportedKeyType = errors.New("unsupported key type") + var ErrUnsupportedValueType = errors.New("unsupported value type") + func MarshalKeyvals(keyvals ...interface{}) ([]byte, error) + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Err() error + func (dec *Decoder) Key() []byte + func (dec *Decoder) ScanKeyval() bool + func (dec *Decoder) ScanRecord() bool + func (dec *Decoder) Value() []byte + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) EncodeKeyval(key, value interface{}) error + func (enc *Encoder) EncodeKeyvals(keyvals ...interface{}) error + func (enc *Encoder) EndRecord() error + func (enc *Encoder) Reset() + type MarshalerError struct + Err error + Type reflect.Type + func (e *MarshalerError) Error() string + type SyntaxError struct + Line int + Msg string + Pos int + func (e *SyntaxError) Error() string