Versions in this module Expand all Collapse all v1 v1.3.0 May 21, 2023 Changes in this version + var File_kvstore_kvstore_proto protoreflect.FileDescriptor + var KVStore_ServiceDesc = grpc.ServiceDesc + func NewGrpcStorage(addresses []string, serverPort int, logLevel string) (kvstore.Storage, error) + func RegisterKVStoreServer(s grpc.ServiceRegistrar, srv KVStoreServer) + type KVStoreClient interface + StoreVal func(ctx context.Context, in *StoreValRequest, opts ...grpc.CallOption) (*StoreValResponse, error) + func NewKVStoreClient(cc grpc.ClientConnInterface) KVStoreClient + type KVStoreServer interface + StoreVal func(context.Context, *StoreValRequest) (*StoreValResponse, error) + type StoreValRequest struct + Key string + Storage string + Value string + func (*StoreValRequest) Descriptor() ([]byte, []int) + func (*StoreValRequest) ProtoMessage() + func (x *StoreValRequest) GetKey() string + func (x *StoreValRequest) GetStorage() string + func (x *StoreValRequest) GetValue() string + func (x *StoreValRequest) ProtoReflect() protoreflect.Message + func (x *StoreValRequest) Reset() + func (x *StoreValRequest) String() string + type StoreValResponse struct + func (*StoreValResponse) Descriptor() ([]byte, []int) + func (*StoreValResponse) ProtoMessage() + func (x *StoreValResponse) ProtoReflect() protoreflect.Message + func (x *StoreValResponse) Reset() + func (x *StoreValResponse) String() string + type UnimplementedKVStoreServer struct + func (UnimplementedKVStoreServer) StoreVal(context.Context, *StoreValRequest) (*StoreValResponse, error) + type UnsafeKVStoreServer interface