Documentation ¶
Index ¶
Constants ¶
View Source
const ( Router_SubscribeMethod = "/gateway.Router/Subscribe" Router_SayHelloMethod = "/gateway.Router/SayHello" Router_HelloWorldMethod = "/gateway.Router/HelloWorld" )
Client methods for Router service
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouterRPCClient ¶
type RouterRPCClient interface { SayHello(ctx context.Context, req *servicepb.HelloRequest, opts ...client.GRPCCallOption) (*servicepb.HelloReply, error) HelloWorld(ctx context.Context, req *servicepb.HelloRequest, opts ...client.GRPCCallOption) (*servicepb.HelloReply, error) }
Client gRPC API for Router service
func NewRouterRPCClient ¶
func NewRouterRPCClient(service string, c client.GRPCClient) RouterRPCClient
Client gRPC API for Router service
Click to show internal directories.
Click to hide internal directories.