Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallPlugin ¶
func InstallPlugin(name string, plugin BootstrapPlugin)
InstallPlugin is a function which installs plugin
Types ¶
type BootstrapFunc ¶
type BootstrapFunc func() error
The BootstrapFunc type is an adapter to allow the use of ordinary functions as bootstrapPlugin.
type BootstrapPlugin ¶
type BootstrapPlugin interface {
Init() error
}
BootstrapPlugin is a interface which declares Init method
Click to show internal directories.
Click to hide internal directories.