Ydb_Discovery_V1

package
v0.0.0-...-5acc94b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DiscoveryService_ListEndpoints_FullMethodName = "/Ydb.Discovery.V1.DiscoveryService/ListEndpoints"
	DiscoveryService_WhoAmI_FullMethodName        = "/Ydb.Discovery.V1.DiscoveryService/WhoAmI"
)

Variables

View Source
var DiscoveryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Ydb.Discovery.V1.DiscoveryService",
	HandlerType: (*DiscoveryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEndpoints",
			Handler:    _DiscoveryService_ListEndpoints_Handler,
		},
		{
			MethodName: "WhoAmI",
			Handler:    _DiscoveryService_WhoAmI_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ydb_discovery_v1.proto",
}

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

View Source
var File_ydb_discovery_v1_proto protoreflect.FileDescriptor

Functions

func RegisterDiscoveryServiceServer

func RegisterDiscoveryServiceServer(s grpc.ServiceRegistrar, srv DiscoveryServiceServer)

Types

type DiscoveryServiceClient

type DiscoveryServiceClient interface {
	ListEndpoints(ctx context.Context, in *Ydb_Discovery.ListEndpointsRequest, opts ...grpc.CallOption) (*Ydb_Discovery.ListEndpointsResponse, error)
	WhoAmI(ctx context.Context, in *Ydb_Discovery.WhoAmIRequest, opts ...grpc.CallOption) (*Ydb_Discovery.WhoAmIResponse, error)
}

DiscoveryServiceClient is the client API for DiscoveryService 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.

type DiscoveryServiceServer

type DiscoveryServiceServer interface {
	ListEndpoints(context.Context, *Ydb_Discovery.ListEndpointsRequest) (*Ydb_Discovery.ListEndpointsResponse, error)
	WhoAmI(context.Context, *Ydb_Discovery.WhoAmIRequest) (*Ydb_Discovery.WhoAmIResponse, error)
	// contains filtered or unexported methods
}

DiscoveryServiceServer is the server API for DiscoveryService service. All implementations must embed UnimplementedDiscoveryServiceServer for forward compatibility

type UnimplementedDiscoveryServiceServer

type UnimplementedDiscoveryServiceServer struct {
}

UnimplementedDiscoveryServiceServer must be embedded to have forward compatible implementations.

type UnsafeDiscoveryServiceServer

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

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

Jump to

Keyboard shortcuts

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