Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
LoadPluginDir(directory string) error
LoadPluginPath(path string) error
LoadPlugin(v Plugin) error
Emit(name Event, v interface{})
On(name Event, callback func(v interface{}))
Walk(func(manifest *Manifest, v Plugin))
GetPlugins() []Plugin
GetServices() []Service
}
Handler interface, handles and provides plugins with an interface to extend and communicate with the base functionality implemention in internal/Handler.go
Click to show internal directories.
Click to hide internal directories.