Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDiscovererServer ¶
func RegisterDiscovererServer(s *grpc.Server, srv DiscovererServer)
Types ¶
type DiscovererClient ¶
type DiscovererClient interface {
Discover(ctx context.Context, in *payload.Discoverer_Request, opts ...grpc.CallOption) (*payload.Info_Servers, error)
}
DiscovererClient is the client API for Discoverer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDiscovererClient ¶
func NewDiscovererClient(cc *grpc.ClientConn) DiscovererClient
type DiscovererServer ¶
type DiscovererServer interface {
Discover(context.Context, *payload.Discoverer_Request) (*payload.Info_Servers, error)
}
DiscovererServer is the server API for Discoverer service.
type UnimplementedDiscovererServer ¶
type UnimplementedDiscovererServer struct { }
UnimplementedDiscovererServer can be embedded to have forward compatible implementations.
func (*UnimplementedDiscovererServer) Discover ¶
func (*UnimplementedDiscovererServer) Discover(ctx context.Context, req *payload.Discoverer_Request) (*payload.Info_Servers, error)
Click to show internal directories.
Click to hide internal directories.