Versions in this module Expand all Collapse all v1 v1.0.8 Jul 8, 2022 Changes in this version + var File_hello_proto protoreflect.FileDescriptor + var Hello_ServiceDesc = grpc.ServiceDesc + var MagicNumber_name = map[int32]string + var MagicNumber_value = map[string]int32 + func RegisterHelloHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterHelloHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HelloClient) error + func RegisterHelloHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterHelloHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HelloServer) error + func RegisterHelloServer(s grpc.ServiceRegistrar, srv HelloServer) + type HelloClient interface + SayHi func(ctx context.Context, in *SayHiRequest, opts ...grpc.CallOption) (*SayHiResponse, error) + func NewHelloClient(cc grpc.ClientConnInterface) HelloClient + type HelloServer interface + SayHi func(context.Context, *SayHiRequest) (*SayHiResponse, error) + type MagicNumber int32 + const MagicNumber_MAGICNUMBER_UNSPECIFIED + const MagicNumber_ONE + const MagicNumber_TWO + func (MagicNumber) Descriptor() protoreflect.EnumDescriptor + func (MagicNumber) EnumDescriptor() ([]byte, []int) + func (MagicNumber) Type() protoreflect.EnumType + func (x MagicNumber) Enum() *MagicNumber + func (x MagicNumber) Number() protoreflect.EnumNumber + func (x MagicNumber) String() string + type SayHiRequest struct + Name string + func (*SayHiRequest) Descriptor() ([]byte, []int) + func (*SayHiRequest) ProtoMessage() + func (x *SayHiRequest) GetName() string + func (x *SayHiRequest) ProtoReflect() protoreflect.Message + func (x *SayHiRequest) Reset() + func (x *SayHiRequest) String() string + type SayHiResponse struct + MagicNumber int32 + Number MagicNumber + Text string + func (*SayHiResponse) Descriptor() ([]byte, []int) + func (*SayHiResponse) ProtoMessage() + func (x *SayHiResponse) GetMagicNumber() int32 + func (x *SayHiResponse) GetNumber() MagicNumber + func (x *SayHiResponse) GetText() string + func (x *SayHiResponse) ProtoReflect() protoreflect.Message + func (x *SayHiResponse) Reset() + func (x *SayHiResponse) String() string + type UnimplementedHelloServer struct + func (UnimplementedHelloServer) SayHi(context.Context, *SayHiRequest) (*SayHiResponse, error) + type UnsafeHelloServer interface