discoverer

package
v0.0.0-...-e4d8aee Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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