Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Location is the folder to put the plugin into. Location string }
Config has the configuration options for the plugins.
type Dependencies ¶
Dependencies defines the dependencies for the plugin provider.
type Plugins ¶
type Plugins struct { Config Dependencies }
Plugins is a plugin handler which uses basic Go plugins and the plugins package.
func NewPluginsProvider ¶
func NewPluginsProvider(cfg Config, deps Dependencies) *Plugins
NewPluginsProvider creates a new Go based plugin provider. Starts the folder watcher.
Click to show internal directories.
Click to hide internal directories.