Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginLoader ¶
type PluginLoader struct {
// contains filtered or unexported fields
}
PluginLoader keeps track of loaded plugins
func NewPluginLoader ¶
func NewPluginLoader(pluginDir string) (*PluginLoader, error)
NewPluginLoader creates new plugin loader
func (*PluginLoader) Close ¶
func (loader *PluginLoader) Close() error
StopDaemon stops all long-running plugins.
func (*PluginLoader) Initialize ¶
func (loader *PluginLoader) Initialize() error
Initialize initializes all loaded plugins
func (*PluginLoader) Inject ¶
func (loader *PluginLoader) Inject() error
Inject hooks all the plugins into the appropriate subsystems.
Click to show internal directories.
Click to hide internal directories.