reflectionv1grpc

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 (
	ServerReflection_ServerReflectionInfo_FullMethodName = "/grpc.reflection.v1.ServerReflection/ServerReflectionInfo"
)

Variables

View Source
var ServerReflection_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "grpc.reflection.v1.ServerReflection",
	HandlerType: (*ServerReflectionServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ServerReflectionInfo",
			Handler:       _ServerReflection_ServerReflectionInfo_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "grpc/reflection/v1/reflection.proto",
}

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

Functions

func RegisterServerReflectionServer

func RegisterServerReflectionServer(s grpc.ServiceRegistrar, srv ServerReflectionServer)

Types

type ServerReflectionClient

type ServerReflectionClient interface {
	// The reflection service is structured as a bidirectional stream, ensuring
	// all related requests go to a single server.
	ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error)
}

ServerReflectionClient is the client API for ServerReflection 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 NewServerReflectionClient

func NewServerReflectionClient(cc grpc.ClientConnInterface) ServerReflectionClient

type ServerReflectionServer

type ServerReflectionServer interface {
	// The reflection service is structured as a bidirectional stream, ensuring
	// all related requests go to a single server.
	ServerReflectionInfo(ServerReflection_ServerReflectionInfoServer) error
}

ServerReflectionServer is the server API for ServerReflection service. All implementations should embed UnimplementedServerReflectionServer for forward compatibility

type ServerReflection_ServerReflectionInfoClient

type ServerReflection_ServerReflectionInfoClient interface {
	Send(*v1.ServerReflectionRequest) error
	Recv() (*v1.ServerReflectionResponse, error)
	grpc.ClientStream
}

type ServerReflection_ServerReflectionInfoServer

type ServerReflection_ServerReflectionInfoServer interface {
	Send(*v1.ServerReflectionResponse) error
	Recv() (*v1.ServerReflectionRequest, error)
	grpc.ServerStream
}

type UnimplementedServerReflectionServer

type UnimplementedServerReflectionServer struct {
}

UnimplementedServerReflectionServer should be embedded to have forward compatible implementations.

func (UnimplementedServerReflectionServer) ServerReflectionInfo

type UnsafeServerReflectionServer

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

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

Jump to

Keyboard shortcuts

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