@ -103,6 +103,10 @@ func initConfig(configPath string) {
err := proto.ReadConfig(configPath)
if err != nil {
panic("failed to read config file:" + err.Error())
} else {
//输出配置文件
config_bytes, _ := json.Marshal(proto.Config)
log.Println(string(config_bytes))
}