func (this *Configure) ParseConfigure(filename string) error { cfg, err := config.ReadDefault(filename) if err != nil { return err } this.loopConfigure("global", cfg) return nil }
func (this *Configure) ParseConfigure(filename string) error { cfg, err := config.ReadDefault(filename) if err != nil { return err } this.loopConfigure("server", cfg) this.loopConfigure("service", cfg) this.loopConfigure("redis", cfg) return nil }