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 ¶ added in v0.45.5
AssertKeyAtLeastLength panics when store key length is less than the given length.
func AssertKeyLength ¶ added in v0.45.5
AssertKeyLength panics when store key length is not equal to 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.
func (*Pair) Descriptor ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) XXX_DiscardUnknown ¶
func (m *Pair) XXX_DiscardUnknown()
func (*Pair) XXX_Unmarshal ¶
type Pairs ¶
type Pairs struct {
Pairs []Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs"`
}
Pairs defines a repeated slice of Pair objects.
func (*Pairs) Descriptor ¶
func (*Pairs) ProtoMessage ¶
func (*Pairs) ProtoMessage()
func (*Pairs) XXX_DiscardUnknown ¶
func (m *Pairs) XXX_DiscardUnknown()
func (*Pairs) XXX_Marshal ¶
func (*Pairs) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.