|
@ -13,6 +13,10 @@ var ( |
|
|
|
|
|
|
|
|
func LoadConfiguration(config *viper.Viper) { |
|
|
func LoadConfiguration(config *viper.Viper) { |
|
|
|
|
|
|
|
|
|
|
|
if config == nil { |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
for _, store := range MessageQueues { |
|
|
for _, store := range MessageQueues { |
|
|
if config.GetBool(store.GetName() + ".enabled") { |
|
|
if config.GetBool(store.GetName() + ".enabled") { |
|
|
viperSub := config.Sub(store.GetName()) |
|
|
viperSub := config.Sub(store.GetName()) |
|
|