registry

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPollingStarted = errors.New("polling already started")
)

Functions

This section is empty.

Types

type Registry

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

func New

func New(interval time.Duration, sources []string) *Registry

func (*Registry) FileByFilename

func (reg *Registry) FileByFilename(name string) (protoreflect.FileDescriptor, error)

func (*Registry) FileContaingURL

func (reg *Registry) FileContaingURL(url string) (protoreflect.FileDescriptor, error)

func (*Registry) FileContainingSymbol

func (reg *Registry) FileContainingSymbol(name protoreflect.FullName) (protoreflect.FileDescriptor, error)

func (*Registry) StartPolling

func (reg *Registry) StartPolling(ctx context.Context) error

Jump to

Keyboard shortcuts

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