Versions in this module Expand all Collapse all v1 v1.7.0 Feb 26, 2026 Changes in this version + const AddHelper_Sum_FullMethodName + const Counter_Get_FullMethodName + const Counter_Put_FullMethodName + var AddHelper_ServiceDesc = grpc.ServiceDesc + var Counter_ServiceDesc = grpc.ServiceDesc + var File_proto_kv_proto protoreflect.FileDescriptor + func RegisterAddHelperServer(s grpc.ServiceRegistrar, srv AddHelperServer) + func RegisterCounterServer(s grpc.ServiceRegistrar, srv CounterServer) + type AddHelperClient interface + Sum func(ctx context.Context, in *SumRequest, opts ...grpc.CallOption) (*SumResponse, error) + func NewAddHelperClient(cc grpc.ClientConnInterface) AddHelperClient + type AddHelperServer interface + Sum func(context.Context, *SumRequest) (*SumResponse, error) + type CounterClient 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 NewCounterClient(cc grpc.ClientConnInterface) CounterClient + type CounterServer interface + Get func(context.Context, *GetRequest) (*GetResponse, error) + Put func(context.Context, *PutRequest) (*Empty, error) + 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 int64 + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetValue() int64 + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type PutRequest struct + AddServer uint32 + Key string + Value int64 + func (*PutRequest) Descriptor() ([]byte, []int) + func (*PutRequest) ProtoMessage() + func (x *PutRequest) GetAddServer() uint32 + func (x *PutRequest) GetKey() string + func (x *PutRequest) GetValue() int64 + func (x *PutRequest) ProtoReflect() protoreflect.Message + func (x *PutRequest) Reset() + func (x *PutRequest) String() string + type SumRequest struct + A int64 + B int64 + func (*SumRequest) Descriptor() ([]byte, []int) + func (*SumRequest) ProtoMessage() + func (x *SumRequest) GetA() int64 + func (x *SumRequest) GetB() int64 + func (x *SumRequest) ProtoReflect() protoreflect.Message + func (x *SumRequest) Reset() + func (x *SumRequest) String() string + type SumResponse struct + R int64 + func (*SumResponse) Descriptor() ([]byte, []int) + func (*SumResponse) ProtoMessage() + func (x *SumResponse) GetR() int64 + func (x *SumResponse) ProtoReflect() protoreflect.Message + func (x *SumResponse) Reset() + func (x *SumResponse) String() string + type UnimplementedAddHelperServer struct + func (UnimplementedAddHelperServer) Sum(context.Context, *SumRequest) (*SumResponse, error) + type UnimplementedCounterServer struct + func (UnimplementedCounterServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (UnimplementedCounterServer) Put(context.Context, *PutRequest) (*Empty, error) + type UnsafeAddHelperServer interface + type UnsafeCounterServer interface