serverpb

package
v0.0.0-...-692e367 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL