GetInt("state.cmd_channel_num") } func GetSateServiceAddr() string { return viper.GetString("state.servide_addr") return viper.GetString("state.service_addr") } func GetStateServiceName() string { return viper.GetString("state.service_name") 21 changes: 21 additions & 0 deletions 21 ...