extensionfinder

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

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

Finder keeps FeedSpec entries in-memory and supports matching by service/method with wildcard semantics.

func New

func New() *Finder

func (*Finder) Add

func (f *Finder) Add(name string, m *toolext.FeedSpec)

func (*Finder) All

func (f *Finder) All() []*toolext.FeedSpec

func (*Finder) FindMatches

func (f *Finder) FindMatches(service, method string) []*toolext.FeedSpec

FindMatches returns ordered matches for service/method with wildcards.

func (*Finder) Get

func (f *Finder) Get(name string) (*toolext.FeedSpec, bool)

func (*Finder) Remove

func (f *Finder) Remove(name string)

Jump to

Keyboard shortcuts

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