Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader handles the loading and managing of server plugins.
func NewPluginLoader ¶
func NewPluginLoader() Loader
NewPluginLoader initializes a new PluginManager with no loaded plugins.
func (*Loader) FetchPlugins ¶
func (loader *Loader) FetchPlugins()
FetchPlugins reads the ./plugins folder and looks for valid shared object files.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is a wrapper for the built-in Go plugin, providing quick access to plugin methods.
func (*Plugin) GetPluginInfo ¶
func (plugin *Plugin) GetPluginInfo() *api.PluginInfo
GetPluginInfo returns the info of this plugin.
Click to show internal directories.
Click to hide internal directories.