reflectionv1alphasdk

package
v0.0.0-...-cdac1a8 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewReflector = grpcreflect.NewReflector

NewReflector constructs a highly configurable Reflector: it can serve a dynamic list of services, proxy reflection requests to other backends, or use an alternate source of extension information.

Functions

This section is empty.

Types

type NameCollection

type NameCollection []string

NameCollection is a list of names

func WithName

func WithName(name ...string) NameCollection

WithName returns a NameCollection

func (NameCollection) Names

func (c NameCollection) Names() []string

Names returns the names

type ReflectionServiceHandler

type ReflectionServiceHandler struct {
	// Reflector implements the underlying logic for gRPC's protobuf server reflection.
	Reflector *Reflector
}

ReflectionServiceController represents an instance for grpc.reflection.v1alpha.ReflectionServiceHandler handler.

func (*ReflectionServiceHandler) Mount

func (x *ReflectionServiceHandler) Mount(r chi.Router)

Mount mounts the controller to a given router.

type Reflector

type Reflector = grpcreflect.Reflector

Reflector implements the underlying logic for gRPC's protobuf server reflection. They're configurable, so they can support straightforward process-local reflection or more complex proxying.

type ReflectorNamer

type ReflectorNamer = grpcreflect.Namer

A Reflector Namer lists the fully-qualified Protobuf service names available for reflection (for example, "acme.user.v1.UserService"). Namers must be safe to call concurrently.

Jump to

Keyboard shortcuts

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