Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func NewContext ¶
type Plugin ¶
type Plugin interface { Name() string // It will be called when the plugin be installed Install() error // It will be called when the plugin be uninstalled Uninstall() error // It will be called when the system starts Run(c *Context) error // It will be called when the system shutdown Stop() error }
Click to show internal directories.
Click to hide internal directories.