新增获取所有插件信息的API接口

This commit is contained in:
dexter
2022-06-07 19:12:02 +08:00
parent 8f86407c94
commit 86ca05b24c
6 changed files with 45 additions and 18 deletions

View File

@@ -34,6 +34,7 @@ var (
Engine = InstallPlugin(EngineConfig) //复用安装插件逻辑将全局配置信息注入并启动server
MergeConfigs = []string{"Publish", "Subscribe", "HTTP"} //需要合并配置的属性项,插件若没有配置则使用全局配置
EventBus = make(chan any, 10)
apiList []string //注册到引擎的API接口列表
)
// Run 启动Monibuca引擎传入总的Context可用于关闭所有