add apps from config

This commit is contained in:
Mayuresh Gaitonde
2018-11-05 14:28:53 -08:00
parent b22f383ab1
commit e076c04edb
2 changed files with 15 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ type Config struct {
Communities []string
Origin string
}
Apps []struct {
Name string
Vip string
Monitors []string
Nats []string
}
}
func GetConfig(file string) *Config {