reflection

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: MIT Imports: 0 Imported by: 21

Documentation

Overview

Package reflection exposes information about protobuf services required to implement the gRPC server reflection API and return information about the compatible registered yarpc services.

The `ServerReflectionInfo` structs should be generated and populated from the `protoc-gen-yarpc-go` plugin for each service.

For more information on gRPC server reflection, see https://github.com/grpc/grpc/blob/master/doc/server-reflection.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerMeta

type ServerMeta struct {

	// The fully qualified service name
	ServiceName string

	// FileDescriptors returns an array of all compressed file descriptors for the
	// file in which the service is defined and all its transitive dependencies.
	FileDescriptors [][]byte
}

ServerMeta encapsulates service information that's required for using the gRPC reflection protocol. See https://github.com/grpc/grpc/blob/master/doc/server-reflection.md

Jump to

Keyboard shortcuts

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