Versions in this module Expand all Collapse all v0 v0.3.5 Feb 20, 2020 Changes in this version + var ErrIntOverflowHello = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthHello = fmt.Errorf("proto: negative length found during unmarshaling") + 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) + func NewGreeterClient(cc *grpc.ClientConn) GreeterClient + type GreeterServer interface + SayHello func(context.Context, *HelloRequest) (*HelloReply, error) + StreamHello func(Greeter_StreamHelloServer) 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 + Message string + Success bool + func (*HelloReply) Descriptor() ([]byte, []int) + func (*HelloReply) ProtoMessage() + func (m *HelloReply) Marshal() (dAtA []byte, err error) + func (m *HelloReply) MarshalTo(dAtA []byte) (int, error) + func (m *HelloReply) Reset() + func (m *HelloReply) Size() (n int) + func (m *HelloReply) String() string + func (m *HelloReply) Unmarshal(dAtA []byte) error + type HelloRequest struct + Age int32 + Name string + func (*HelloRequest) Descriptor() ([]byte, []int) + func (*HelloRequest) ProtoMessage() + func (m *HelloRequest) Marshal() (dAtA []byte, err error) + func (m *HelloRequest) MarshalTo(dAtA []byte) (int, error) + func (m *HelloRequest) Reset() + func (m *HelloRequest) Size() (n int) + func (m *HelloRequest) String() string + func (m *HelloRequest) Unmarshal(dAtA []byte) error