pluginloader

package
v0.0.0-...-4355fa8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

func New

func New(fs afero.Fs, openPlugin pluginOpener) *Loader

func (*Loader) Load

func (l *Loader) Load(pluginDir string) (map[string]SymbolFinder, error)

type SymbolFinder

type SymbolFinder interface {
	Lookup(symName string) (plugin.Symbol, error)
}

Jump to

Keyboard shortcuts

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