Documentation
¶
Overview ¶
Package plugin provides the ability to load plugins
Package plugin provides the ability to load plugins
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default plugin loader DefaultPlugin = NewPlugin() )
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Name of the plugin e.g rabbitmq
Name string
// Type of the plugin e.g broker
Type string
// Path specifies the import path
Path string
// NewFunc creates an instance of the plugin
NewFunc interface{}
}
Config is the plugin config
Click to show internal directories.
Click to hide internal directories.