Versions in this module Expand all Collapse all v0 v0.3.1 Jun 21, 2021 Changes in this version + func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) + type GreeterClient interface + SayHello func(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error) + StreamHello func(ctx context.Context, opts ...grpc.CallOption) (Greeter_StreamHelloClient, error) + WhoServer func(ctx context.Context, in *WhoServerReq, opts ...grpc.CallOption) (*WhoServerReply, error) + func NewGreeterClient(cc *grpc.ClientConn) GreeterClient + type GreeterServer interface + SayHello func(context.Context, *HelloRequest) (*HelloReply, error) + StreamHello func(Greeter_StreamHelloServer) error + WhoServer func(context.Context, *WhoServerReq) (*WhoServerReply, error) + type Greeter_StreamHelloClient interface + Recv func() (*HelloReply, error) + Send func(*HelloRequest) error + type Greeter_StreamHelloServer interface + Recv func() (*HelloRequest, error) + Send func(*HelloReply) error + type HelloReply struct + Done bool + Id32 int32 + Id64 int64 + Idu32 uint32 + Idu64 uint64 + Message string + Name []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HelloReply) Descriptor() ([]byte, []int) + func (*HelloReply) ProtoMessage() + func (m *HelloReply) GetDone() bool + func (m *HelloReply) GetId32() int32 + func (m *HelloReply) GetId64() int64 + func (m *HelloReply) GetIdu32() uint32 + func (m *HelloReply) GetIdu64() uint64 + func (m *HelloReply) GetMessage() string + func (m *HelloReply) GetName() []byte + 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 + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HelloRequest) Descriptor() ([]byte, []int) + func (*HelloRequest) ProtoMessage() + func (m *HelloRequest) GetName() string + 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 WhoServerReply struct + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*WhoServerReply) Descriptor() ([]byte, []int) + func (*WhoServerReply) ProtoMessage() + func (m *WhoServerReply) GetMessage() string + func (m *WhoServerReply) Reset() + func (m *WhoServerReply) String() string + func (m *WhoServerReply) XXX_DiscardUnknown() + func (m *WhoServerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WhoServerReply) XXX_Merge(src proto.Message) + func (m *WhoServerReply) XXX_Size() int + func (m *WhoServerReply) XXX_Unmarshal(b []byte) error + type WhoServerReq struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*WhoServerReq) Descriptor() ([]byte, []int) + func (*WhoServerReq) ProtoMessage() + func (m *WhoServerReq) Reset() + func (m *WhoServerReq) String() string + func (m *WhoServerReq) XXX_DiscardUnknown() + func (m *WhoServerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WhoServerReq) XXX_Merge(src proto.Message) + func (m *WhoServerReq) XXX_Size() int + func (m *WhoServerReq) XXX_Unmarshal(b []byte) error