Versions in this module Expand all Collapse all v1 v1.7.20 Dec 10, 2019 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) + StreamExample func(ctx context.Context, in *StreamExampleRequest, opts ...grpc.CallOption) (Greeter_StreamExampleClient, error) + func NewGreeterClient(cc *grpc.ClientConn) GreeterClient + type GreeterServer interface + SayHello func(context.Context, *HelloRequest) (*HelloReply, error) + StreamExample func(*StreamExampleRequest, Greeter_StreamExampleServer) error + type Greeter_StreamExampleClient interface + Recv func() (*StreamExampleReply, error) + type Greeter_StreamExampleServer interface + Send func(*StreamExampleReply) error + type HelloReply struct + Message string + func (*HelloReply) Descriptor() ([]byte, []int) + func (*HelloReply) ProtoMessage() + func (m *HelloReply) GetMessage() string + func (m *HelloReply) Reset() + func (m *HelloReply) String() string + type HelloRequest struct + Name string + func (*HelloRequest) Descriptor() ([]byte, []int) + func (*HelloRequest) ProtoMessage() + func (m *HelloRequest) GetName() string + func (m *HelloRequest) Reset() + func (m *HelloRequest) String() string + type StreamExampleReply struct + Data string + func (*StreamExampleReply) Descriptor() ([]byte, []int) + func (*StreamExampleReply) ProtoMessage() + func (m *StreamExampleReply) GetData() string + func (m *StreamExampleReply) Reset() + func (m *StreamExampleReply) String() string + type StreamExampleRequest struct + func (*StreamExampleRequest) Descriptor() ([]byte, []int) + func (*StreamExampleRequest) ProtoMessage() + func (m *StreamExampleRequest) Reset() + func (m *StreamExampleRequest) String() string