Versions in this module Expand all Collapse all v0 v0.0.1 Jun 7, 2021 Changes in this version + var ErrIntOverflowKv = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthKv = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupKv = fmt.Errorf("proto: unexpected end of group") + type Element struct + Value *Pair + func (e *Element) Next() *Element + func (e *Element) Prev() *Element + type List struct + func NewList() *List + func (l *List) Back() *Element + func (l *List) Front() *Element + func (l *List) Init() *List + func (l *List) InsertAfter(v *Pair, mark *Element) *Element + func (l *List) InsertBefore(v *Pair, mark *Element) *Element + func (l *List) Len() int + func (l *List) MoveAfter(e, mark *Element) + func (l *List) MoveBefore(e, mark *Element) + func (l *List) MoveToBack(e *Element) + func (l *List) MoveToFront(e *Element) + func (l *List) PushBack(v *Pair) *Element + func (l *List) PushBackList(other *List) + func (l *List) PushFront(v *Pair) *Element + func (l *List) PushFrontList(other *List) + func (l *List) Remove(e *Element) *Pair + type Pair struct + Key []byte + Value []byte + func (*Pair) Descriptor() ([]byte, []int) + func (*Pair) ProtoMessage() + func (m *Pair) GetKey() []byte + func (m *Pair) GetValue() []byte + func (m *Pair) Marshal() (dAtA []byte, err error) + func (m *Pair) MarshalTo(dAtA []byte) (int, error) + func (m *Pair) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pair) Reset() + func (m *Pair) Size() (n int) + func (m *Pair) String() string + func (m *Pair) Unmarshal(dAtA []byte) error + func (m *Pair) XXX_DiscardUnknown() + func (m *Pair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pair) XXX_Merge(src proto.Message) + func (m *Pair) XXX_Size() int + func (m *Pair) XXX_Unmarshal(b []byte) error + type Pairs struct + Pairs []Pair + func (*Pairs) Descriptor() ([]byte, []int) + func (*Pairs) ProtoMessage() + func (kvs Pairs) Len() int + func (kvs Pairs) Less(i, j int) bool + func (kvs Pairs) Sort() + func (kvs Pairs) Swap(i, j int) + func (m *Pairs) GetPairs() []Pair + func (m *Pairs) Marshal() (dAtA []byte, err error) + func (m *Pairs) MarshalTo(dAtA []byte) (int, error) + func (m *Pairs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pairs) Reset() + func (m *Pairs) Size() (n int) + func (m *Pairs) String() string + func (m *Pairs) Unmarshal(dAtA []byte) error + func (m *Pairs) XXX_DiscardUnknown() + func (m *Pairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pairs) XXX_Merge(src proto.Message) + func (m *Pairs) XXX_Size() int + func (m *Pairs) XXX_Unmarshal(b []byte) error