func LoadConfig() { var err error c, err = server.NewConfig("systail", Config{}) if err != nil { common.Fatal("Unable to load systail config; %v", err) } }
func loadConfig() { var err error c, err = server.NewConfig("cloud_controller_ng", Config{}) if err != nil { common.Fatal("Unable to load cc_ng config; %v", err) } }
func LoadConfig() { var err error c, err = server.NewConfig("logyard_sieve", Config{}) if err != nil { log.Fatalf("Unable to load logyard_sieve config; %v", err) } log.Info(getConfig().Events) }
func NewConfig(group string, s interface{}) (*ServerConfig, error) { config, err := server.NewConfig(group, s) return &ServerConfig{config}, err }