diff --git a/src/HttpServer/conf/conf.go b/src/HttpServer/conf/conf.go index 7aff05a..feb1b65 100644 --- a/src/HttpServer/conf/conf.go +++ b/src/HttpServer/conf/conf.go @@ -14,9 +14,15 @@ type RedisConf struct { Password string `xml:",attr"` } +type ConiSrvConf struct { + Host string `xml:",attr"` + Key string `xml:",attr"` +} + type TexasConf struct { ServerHttpAddr ServerHttpAddrConf `xml:"ServerHttpAddr"` Redis RedisConf `xml:"Redis"` + CoinSrv ConiSrvConf `xml:"CoinSrv"` } var ( @@ -45,6 +51,7 @@ func LoadConf(filename string) error { func DumpConf() { logger.Info("--------------config dump----start--------") + logger.Info("conf=%+v", config) logger.Info("--------------config dump----end--------") } diff --git a/src/HttpServer/conf/world.xml b/src/HttpServer/conf/world.xml index d94a5c3..5141fd9 100644 --- a/src/HttpServer/conf/world.xml +++ b/src/HttpServer/conf/world.xml @@ -2,4 +2,5 @@ + \ No newline at end of file -- libgit2 0.21.0