Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterServerReflectionServer(s grpc.ServiceRegistrar, srv ServerReflectionServer)
- type ServerReflectionClient
- type ServerReflectionServer
- type ServerReflection_ServerReflectionInfoClient
- type ServerReflection_ServerReflectionInfoServer
- type UnimplementedServerReflectionServer
- type UnsafeServerReflectionServer
Constants ¶
const (
ServerReflection_ServerReflectionInfo_FullMethodName = "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo"
)
Variables ¶
var ServerReflection_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.reflection.v1alpha.ServerReflection", HandlerType: (*ServerReflectionServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ServerReflectionInfo", Handler: _ServerReflection_ServerReflectionInfo_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "grpc/reflection/v1alpha/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(*v1alpha.ServerReflectionRequest) error Recv() (*v1alpha.ServerReflectionResponse, error) grpc.ClientStream }
type ServerReflection_ServerReflectionInfoServer ¶
type ServerReflection_ServerReflectionInfoServer interface { Send(*v1alpha.ServerReflectionResponse) error Recv() (*v1alpha.ServerReflectionRequest, error) grpc.ServerStream }
type UnimplementedServerReflectionServer ¶
type UnimplementedServerReflectionServer struct { }
UnimplementedServerReflectionServer should be embedded to have forward compatible implementations.
func (UnimplementedServerReflectionServer) ServerReflectionInfo ¶
func (UnimplementedServerReflectionServer) ServerReflectionInfo(ServerReflection_ServerReflectionInfoServer) error
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.