Versions in this module Expand all Collapse all v1 v1.7.0 Feb 26, 2026 Changes in this version + const KV_Get_FullMethodName + const KV_Put_FullMethodName + var File_proto_kv_proto protoreflect.FileDescriptor + var KV_ServiceDesc = grpc.ServiceDesc + func RegisterKVServer(s grpc.ServiceRegistrar, srv KVServer) + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type GetRequest struct + Key string + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetKey() string + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetResponse struct + Value []byte + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetValue() []byte + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type KVClient interface + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + Put func(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*Empty, error) + func NewKVClient(cc grpc.ClientConnInterface) KVClient + type KVServer interface + Get func(context.Context, *GetRequest) (*GetResponse, error) + Put func(context.Context, *PutRequest) (*Empty, error) + type PutRequest struct + Key string + Value []byte + func (*PutRequest) Descriptor() ([]byte, []int) + func (*PutRequest) ProtoMessage() + func (x *PutRequest) GetKey() string + func (x *PutRequest) GetValue() []byte + func (x *PutRequest) ProtoReflect() protoreflect.Message + func (x *PutRequest) Reset() + func (x *PutRequest) String() string + type UnimplementedKVServer struct + func (UnimplementedKVServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (UnimplementedKVServer) Put(context.Context, *PutRequest) (*Empty, error) + type UnsafeKVServer interface