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: 0

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