Documentation ¶
Index ¶
- Variables
- func AssertKeyAtLeastLength(bz []byte, length int)
- func AssertKeyLength(bz []byte, length int)
- type Pair
- func (*Pair) Descriptor() ([]byte, []int)
- 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 (*Pair) ProtoMessage()
- 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
- func (*Pairs) Descriptor() ([]byte, []int)
- func (m *Pairs) GetPairs() []Pair
- func (kvs Pairs) Len() int
- func (kvs Pairs) Less(i, j int) bool
- 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 (*Pairs) ProtoMessage()
- func (m *Pairs) Reset()
- func (m *Pairs) Size() (n int)
- func (kvs Pairs) Sort()
- func (m *Pairs) String() string
- func (kvs Pairs) Swap(i, j int)
- 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
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AssertKeyAtLeastLength ¶
AssertKeyAtLeastLength panics when store key length is less than the given length.
Types ¶
type Pair ¶
type Pair struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
Pair defines a key/value bytes tuple.
Click to show internal directories.
Click to hide internal directories.