modules share internal config type.

This commit is contained in:
Miroslav Šedivý 2021-01-31 12:58:15 +01:00
parent 5134ff5c7e
commit 52670b9415

View File

@ -23,7 +23,7 @@ func init() {
neko.Service.Configs.WebRTC, neko.Service.Configs.WebRTC,
neko.Service.Configs.Session, neko.Service.Configs.Session,
neko.Service.Configs.Server, neko.Service.Configs.Server,
}, modules.ConfigsList()...) }, modules.Configs()...)
cobra.OnInitialize(func() { cobra.OnInitialize(func() {
for _, cfg := range configs { for _, cfg := range configs {