lookupv1grpc

package
v1.3.0-20240412200742-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouteLookupService_RouteLookup_FullMethodName = "/grpc.lookup.v1.RouteLookupService/RouteLookup"
)

Variables

View Source
var RouteLookupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.lookup.v1.RouteLookupService",
	HandlerType: (*RouteLookupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RouteLookup",
			Handler:    _RouteLookupService_RouteLookup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "grpc/lookup/v1/rls.proto",
}

RouteLookupService_ServiceDesc is the grpc.ServiceDesc for RouteLookupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRouteLookupServiceServer

func RegisterRouteLookupServiceServer(s grpc.ServiceRegistrar, srv RouteLookupServiceServer)

Types

type RouteLookupServiceClient

type RouteLookupServiceClient interface {
	// Lookup returns a target for a single key.
	RouteLookup(ctx context.Context, in *v1.RouteLookupRequest, opts ...grpc.CallOption) (*v1.RouteLookupResponse, error)
}

RouteLookupServiceClient is the client API for RouteLookupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRouteLookupServiceClient

func NewRouteLookupServiceClient(cc grpc.ClientConnInterface) RouteLookupServiceClient

type RouteLookupServiceServer

type RouteLookupServiceServer interface {
	// Lookup returns a target for a single key.
	RouteLookup(context.Context, *v1.RouteLookupRequest) (*v1.RouteLookupResponse, error)
}

RouteLookupServiceServer is the server API for RouteLookupService service. All implementations should embed UnimplementedRouteLookupServiceServer for forward compatibility

type UnimplementedRouteLookupServiceServer

type UnimplementedRouteLookupServiceServer struct {
}

UnimplementedRouteLookupServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRouteLookupServiceServer) RouteLookup

type UnsafeRouteLookupServiceServer

type UnsafeRouteLookupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRouteLookupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RouteLookupServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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