Versions in this module Expand all Collapse all v1 v1.16.2 Jun 14, 2023 v1.16.1 Jun 14, 2023 Changes in this version + func RegisterGreeterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterGreeterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GreeterClient) error + func RegisterGreeterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterGreeterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GreeterServer) error + func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) + type GreeterClient interface + SayHello func(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error) + func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient + type GreeterServer interface + SayHello func(context.Context, *HelloRequest) (*HelloReply, error) + type HelloReply struct + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HelloReply) Descriptor() ([]byte, []int) + func (*HelloReply) ProtoMessage() + func (m *HelloReply) GetMessage() string + func (m *HelloReply) Reset() + func (m *HelloReply) String() string + func (m *HelloReply) XXX_DiscardUnknown() + func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HelloReply) XXX_Merge(src proto.Message) + func (m *HelloReply) XXX_Size() int + func (m *HelloReply) XXX_Unmarshal(b []byte) error + type HelloRequest struct + BoolVal *wrappers.BoolValue + BytesVal *wrappers.BytesValue + DoubleVal *wrappers.DoubleValue + FloatVal *wrappers.FloatValue + Int32Val *wrappers.Int32Value + Int64Val *wrappers.Int64Value + Name string + StrVal *wrappers.StringValue + Uint32Val *wrappers.UInt32Value + Uint64Val *wrappers.UInt64Value + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HelloRequest) Descriptor() ([]byte, []int) + func (*HelloRequest) ProtoMessage() + func (m *HelloRequest) GetBoolVal() *wrappers.BoolValue + func (m *HelloRequest) GetBytesVal() *wrappers.BytesValue + func (m *HelloRequest) GetDoubleVal() *wrappers.DoubleValue + func (m *HelloRequest) GetFloatVal() *wrappers.FloatValue + func (m *HelloRequest) GetInt32Val() *wrappers.Int32Value + func (m *HelloRequest) GetInt64Val() *wrappers.Int64Value + func (m *HelloRequest) GetName() string + func (m *HelloRequest) GetStrVal() *wrappers.StringValue + func (m *HelloRequest) GetUint32Val() *wrappers.UInt32Value + func (m *HelloRequest) GetUint64Val() *wrappers.UInt64Value + func (m *HelloRequest) Reset() + func (m *HelloRequest) String() string + func (m *HelloRequest) XXX_DiscardUnknown() + func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HelloRequest) XXX_Merge(src proto.Message) + func (m *HelloRequest) XXX_Size() int + func (m *HelloRequest) XXX_Unmarshal(b []byte) error + type UnimplementedGreeterServer struct + func (*UnimplementedGreeterServer) SayHello(ctx context.Context, req *HelloRequest) (*HelloReply, error)