Documentation ¶
Index ¶
- func Bundle(bundles ...map[string][]interface{}) map[string][]interface{}
- func Initialize() error
- func LoadPlugins(path string) error
- func MakePlugin(key string, ifc interface{}) map[string][]interface{}
- func MustRegisterLoader(name string, l PluginLoader)
- func RegisterLoader(name string, l PluginLoader) error
- type PluginLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize() error
func LoadPlugins ¶
func MakePlugin ¶
func MustRegisterLoader ¶
func MustRegisterLoader(name string, l PluginLoader)
func RegisterLoader ¶
func RegisterLoader(name string, l PluginLoader) error
Types ¶
type PluginLoader ¶
type PluginLoader func(p interface{}) error
Click to show internal directories.
Click to hide internal directories.