loader

package
v0.0.0-...-7578c0e Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 1 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 interface {
	LoadSymbol(pluginPath string, name string) (sym plugin.Symbol, err error)
}

type PluginLoader

type PluginLoader struct{}

func New

func New() (pl *PluginLoader)

func (*PluginLoader) LoadSymbol

func (pl *PluginLoader) LoadSymbol(pluginPath string, name string) (sym plugin.Symbol, err error)

LoadSymbol opens the plugin and looks up the symbol with the name specified.

Jump to

Keyboard shortcuts

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