loader

package
v0.4.19 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 17 Imported by: 62 modules, 56 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginLoader added in v0.4.19

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

PluginLoader keeps track of loaded plugins

func NewPluginLoader added in v0.4.19

func NewPluginLoader(pluginDir string) (*PluginLoader, error)

NewPluginLoader creates new plugin loader

func (*PluginLoader) Close added in v0.4.19

func (loader *PluginLoader) Close() error

StopDaemon stops all long-running plugins.

func (*PluginLoader) Initialize added in v0.4.19

func (loader *PluginLoader) Initialize() error

Initialize initializes all loaded plugins

func (*PluginLoader) Inject added in v0.4.19

func (loader *PluginLoader) Inject() error

Inject hooks all the plugins into the appropriate subsystems.

func (*PluginLoader) Start added in v0.4.19

func (loader *PluginLoader) Start(iface coreiface.CoreAPI) error

Start starts all long-running plugins.

Jump to

Keyboard shortcuts

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