Documentation
¶
Index ¶
- Variables
- type KvItem
- func (*KvItem) Descriptor() ([]byte, []int)deprecated
- func (x *KvItem) GetKey() string
- func (x *KvItem) GetTtl() *durationpb.Duration
- func (x *KvItem) GetValue() []byte
- func (*KvItem) ProtoMessage()
- func (x *KvItem) ProtoReflect() protoreflect.Message
- func (x *KvItem) Reset()
- func (x *KvItem) String() string
- type KvRequest
- type KvResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_kv_v2_kv_proto protoreflect.FileDescriptor
View Source
var File_kv_v2_request_proto protoreflect.FileDescriptor
View Source
var File_kv_v2_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KvItem ¶
type KvItem struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
// contains filtered or unexported fields
}
func (*KvItem) Descriptor
deprecated
func (*KvItem) GetTtl ¶
func (x *KvItem) GetTtl() *durationpb.Duration
func (*KvItem) ProtoMessage ¶
func (*KvItem) ProtoMessage()
func (*KvItem) ProtoReflect ¶
func (x *KvItem) ProtoReflect() protoreflect.Message
type KvRequest ¶
type KvRequest struct {
Storage string `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"`
Items []*KvItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*KvRequest) Descriptor
deprecated
func (*KvRequest) GetStorage ¶
func (*KvRequest) ProtoMessage ¶
func (*KvRequest) ProtoMessage()
func (*KvRequest) ProtoReflect ¶
func (x *KvRequest) ProtoReflect() protoreflect.Message
type KvResponse ¶
type KvResponse struct {
Items []*KvItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*KvResponse) Descriptor
deprecated
func (*KvResponse) Descriptor() ([]byte, []int)
Deprecated: Use KvResponse.ProtoReflect.Descriptor instead.
func (*KvResponse) GetItems ¶
func (x *KvResponse) GetItems() []*KvItem
func (*KvResponse) ProtoMessage ¶
func (*KvResponse) ProtoMessage()
func (*KvResponse) ProtoReflect ¶
func (x *KvResponse) ProtoReflect() protoreflect.Message
func (*KvResponse) Reset ¶
func (x *KvResponse) Reset()
func (*KvResponse) String ¶
func (x *KvResponse) String() string
Click to show internal directories.
Click to hide internal directories.