reflection

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s reflection.ServiceInfoProvider)

Types

type ExtensionResolver

type ExtensionResolver interface {
	protoregistry.ExtensionTypeResolver
	RangeExtensionsByMessage(message protoreflect.FullName, f func(protoreflect.ExtensionType) bool)
}

ExtensionResolver is the interface used to query details about extensions. This interface is satisfied by protoregistry.GlobalTypes.

Experimental

Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.

type ReflectionServer

type ReflectionServer struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *ReflectionServer

func (*ReflectionServer) Reference

func (srv *ReflectionServer) Reference() string

func (*ReflectionServer) ServerReflectionInfo

ServerReflectionInfo is the reflection service handler.

Directories

Path Synopsis
Code generated by protoc-gen-triple.
Code generated by protoc-gen-triple.

Jump to

Keyboard shortcuts

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