Versions in this module Expand all Collapse all v1 v1.0.0 May 17, 2024 Changes in this version + const StackService_Pop_FullMethodName + const StackService_Push_FullMethodName + var File_stack_proto protoreflect.FileDescriptor + var StackService_ServiceDesc = grpc.ServiceDesc + func RegisterStackServiceServer(s grpc.ServiceRegistrar, srv StackServiceServer) + type PopServiceReply struct + Empty bool + Number int32 + func (*PopServiceReply) Descriptor() ([]byte, []int) + func (*PopServiceReply) ProtoMessage() + func (x *PopServiceReply) GetEmpty() bool + func (x *PopServiceReply) GetNumber() int32 + func (x *PopServiceReply) ProtoReflect() protoreflect.Message + func (x *PopServiceReply) Reset() + func (x *PopServiceReply) String() string + type PopServiceRequest struct + Number int32 + func (*PopServiceRequest) Descriptor() ([]byte, []int) + func (*PopServiceRequest) ProtoMessage() + func (x *PopServiceRequest) GetNumber() int32 + func (x *PopServiceRequest) ProtoReflect() protoreflect.Message + func (x *PopServiceRequest) Reset() + func (x *PopServiceRequest) String() string + type PushServiceReply struct + Size int32 + func (*PushServiceReply) Descriptor() ([]byte, []int) + func (*PushServiceReply) ProtoMessage() + func (x *PushServiceReply) GetSize() int32 + func (x *PushServiceReply) ProtoReflect() protoreflect.Message + func (x *PushServiceReply) Reset() + func (x *PushServiceReply) String() string + type PushServiceRequest struct + Number int32 + func (*PushServiceRequest) Descriptor() ([]byte, []int) + func (*PushServiceRequest) ProtoMessage() + func (x *PushServiceRequest) GetNumber() int32 + func (x *PushServiceRequest) ProtoReflect() protoreflect.Message + func (x *PushServiceRequest) Reset() + func (x *PushServiceRequest) String() string + type StackServiceClient interface + Pop func(ctx context.Context, in *PopServiceRequest, opts ...grpc.CallOption) (*PopServiceReply, error) + Push func(ctx context.Context, in *PushServiceRequest, opts ...grpc.CallOption) (*PushServiceReply, error) + func NewStackServiceClient(cc grpc.ClientConnInterface) StackServiceClient + type StackServiceServer interface + Pop func(context.Context, *PopServiceRequest) (*PopServiceReply, error) + Push func(context.Context, *PushServiceRequest) (*PushServiceReply, error) + type UnimplementedStackServiceServer struct + func (UnimplementedStackServiceServer) Pop(context.Context, *PopServiceRequest) (*PopServiceReply, error) + func (UnimplementedStackServiceServer) Push(context.Context, *PushServiceRequest) (*PushServiceReply, error) + type UnsafeStackServiceServer interface