Versions in this module Expand all Collapse all v1 v1.0.0 Apr 6, 2023 Changes in this version + const MaxKeyLength + var ErrBadKeyLength = errors.New("bad key length") + var ErrBroken = errors.New("broken") + var ErrEmptyKey = errors.New("empty key") + var ErrInvalidQuote = errors.New("quote match failed") + var ErrNotBool = errors.New("not a bool") + var ErrNotBytes = errors.New("not a bytes") + var ErrNotInteger = errors.New("not an integer") + var ErrNotObject = errors.New("not an object") + var ErrNotString = errors.New("not a string") + type Decoder interface + BoolField func(value *bool) bool + BytesField func(value *[]byte) bool + Error func() error + Float64Field func(value *float64) bool + Int64Field func(value *int64) bool + Next func(key *string) bool + ProtoField func(value proto.Message) bool + StringField func(value *string) bool + Uint64Field func(value *uint64) bool + WithError func(err error) bool + func NewDecoder(s string) Decoder + type Encoder interface + Error func() error + Final func() string + WriteBool func(key string, value bool) + WriteBytes func(key string, value []byte) + WriteFloat64 func(key string, value float64, precision int) + WriteInt64 func(key string, value int64) + WriteJson func(key string, value interface{}) error + WriteProto func(key string, value proto.Message) error + WriteString func(key, value string) + WriteUint64 func(key string, value uint64) + func NewEncoder() Encoder + type Query interface + BoolField func(key string, value *bool) bool + BytesField func(key string, value *[]byte) bool + Error func() error + Fields func() map[string]string + Float64Field func(key string, value *float64) bool + Int64Field func(key string, value *int64) bool + ProtoField func(key string, value proto.Message) bool + StringField func(key string, value *string) bool + Uint64Field func(key string, value *uint64) bool + func NewQuery(s string) Query