Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallPlugin ¶
InstallPlugin is a function which installs plugin, during initiating of go chassis, plugins will be executed
Types ¶
type Func ¶ added in v1.5.1
type Func func() error
Func The Func type is an adapter to allow the use of ordinary functions as bootstrapPlugin.
type Plugin ¶ added in v1.5.1
type Plugin interface {
Init() error
}
Plugin is a interface which declares Init method
type PluginItem ¶ added in v0.7.1
PluginItem include name and plugin implementation
Click to show internal directories.
Click to hide internal directories.