kvV2

package
v5.0.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use KvItem.ProtoReflect.Descriptor instead.

func (*KvItem) GetKey

func (x *KvItem) GetKey() string

func (*KvItem) GetTtl

func (x *KvItem) GetTtl() *durationpb.Duration

func (*KvItem) GetValue

func (x *KvItem) GetValue() []byte

func (*KvItem) ProtoMessage

func (*KvItem) ProtoMessage()

func (*KvItem) ProtoReflect

func (x *KvItem) ProtoReflect() protoreflect.Message

func (*KvItem) Reset

func (x *KvItem) Reset()

func (*KvItem) String

func (x *KvItem) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use KvRequest.ProtoReflect.Descriptor instead.

func (*KvRequest) GetItems

func (x *KvRequest) GetItems() []*KvItem

func (*KvRequest) GetStorage

func (x *KvRequest) GetStorage() string

func (*KvRequest) ProtoMessage

func (*KvRequest) ProtoMessage()

func (*KvRequest) ProtoReflect

func (x *KvRequest) ProtoReflect() protoreflect.Message

func (*KvRequest) Reset

func (x *KvRequest) Reset()

func (*KvRequest) String

func (x *KvRequest) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL