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