Versions in this module Expand all Collapse all v1 v1.0.1 Mar 6, 2022 Changes in this version + func NewGreeterEndpoints() []*api.Endpoint + func RegisterGreeterHandler(s server.Server, hdlr GreeterHandler, opts ...server.HandlerOption) error + type GreeterHandler interface + Hello func(context.Context, *Request, *Response) error + Stream func(context.Context, Greeter_StreamStream) error + type GreeterService interface + Hello func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + Stream func(ctx context.Context, opts ...client.CallOption) (Greeter_StreamService, error) + func NewGreeterService(name string, c client.Client) GreeterService + type Greeter_StreamService interface + Close func() error + Context func() context.Context + Recv func() (*Response, error) + RecvMsg func(interface{}) error + Send func(*Request) error + SendMsg func(interface{}) error + type Greeter_StreamStream interface + Close func() error + Context func() context.Context + Recv func() (*Request, error) + RecvMsg func(interface{}) error + Send func(*Response) error + SendMsg func(interface{}) error + type Request struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetName() string + func (m *Request) Reset() + func (m *Request) String() string + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type Response struct + Msg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetMsg() string + func (m *Response) Reset() + func (m *Response) String() string + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error