|
@@ -6,10 +6,10 @@ import (
|
|
|
|
|
|
type Config struct {
|
|
|
zrpc.RpcServerConf
|
|
|
- DataSource *mysqlConfig // 手动代码
|
|
|
- BaseSource *mysqlConfig // 手动代码
|
|
|
- WebRpcPort int
|
|
|
- Mysql string
|
|
|
+ DataSource *mysqlConfig // 手动代码
|
|
|
+ BaseSource *mysqlConfig // 手动代码
|
|
|
+ WebRpcPort int
|
|
|
+ //Mysql string
|
|
|
RedisAddr string `json:"RedisAddr"`
|
|
|
Mongodb *mgoConf
|
|
|
SurvivalTime int
|