Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Plugins 所有的插件配置 Plugins = make(map[string]*Plugin) // Engine 复用安装插件逻辑,将全局配置信息注入 Engine = InstallPlugin(config.Global) )
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct { context.Context context.CancelFunc PluginMagic Config config.Plugin // 插件配置 RawConfig config.Config // 插件原配置 }
func InstallPlugin ¶
Click to show internal directories.
Click to hide internal directories.