Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + func NewClientEndpoints() []*api.Endpoint + func RegisterClientHandler(s server.Server, hdlr ClientHandler, opts ...server.HandlerOption) error + func RegisterClientServer(s *grpc.Server, srv ClientServer) + type ClientClient interface + Call func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + Publish func(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error) + Stream func(ctx context.Context, opts ...grpc.CallOption) (Client_StreamClient, error) + func NewClientClient(cc *grpc.ClientConn) ClientClient + type ClientHandler interface + Call func(context.Context, *Request, *Response) error + Publish func(context.Context, *Message, *Message) error + Stream func(context.Context, Client_StreamStream) error + type ClientServer interface + Call func(context.Context, *Request) (*Response, error) + Publish func(context.Context, *Message) (*Message, error) + Stream func(Client_StreamServer) error + type ClientService interface + Call func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + Publish func(ctx context.Context, in *Message, opts ...client.CallOption) (*Message, error) + Stream func(ctx context.Context, opts ...client.CallOption) (Client_StreamService, error) + func NewClientService(name string, c client.Client) ClientService + type Client_StreamClient interface + Recv func() (*Response, error) + Send func(*Request) error + type Client_StreamServer interface + Recv func() (*Request, error) + Send func(*Response) error + type Client_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 Client_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 Message struct + Body []byte + ContentType string + Topic string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetBody() []byte + func (m *Message) GetContentType() string + func (m *Message) GetTopic() string + func (m *Message) Reset() + func (m *Message) String() string + func (m *Message) XXX_DiscardUnknown() + func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Message) XXX_Merge(src proto.Message) + func (m *Message) XXX_Size() int + func (m *Message) XXX_Unmarshal(b []byte) error + type Request struct + Body []byte + ContentType string + Endpoint string + Service string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetBody() []byte + func (m *Request) GetContentType() string + func (m *Request) GetEndpoint() string + func (m *Request) GetService() 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 + Body []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetBody() []byte + 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