dbproxy读取配置文件

This commit is contained in:
sk 2024-05-24 09:58:51 +08:00
parent a6c1b37e0c
commit 2cbd5d46a0
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,9 @@
"AppId": "5c56d1644966f078bfb90c71", "AppId": "5c56d1644966f078bfb90c71",
"IsDevMode": true "IsDevMode": true
}, },
"data":{
"RootPath":"../data"
},
"costum": { "costum": {
"MgoRpcCliNet": "tcp", "MgoRpcCliNet": "tcp",
"MgoRpcCliAddr": "127.0.0.1:8999", "MgoRpcCliAddr": "127.0.0.1:8999",

View File

@ -16,6 +16,7 @@ import (
"mongo.games.com/game/etcd" "mongo.games.com/game/etcd"
"mongo.games.com/game/model" "mongo.games.com/game/model"
"mongo.games.com/game/mq" "mongo.games.com/game/mq"
_ "mongo.games.com/game/srvdata"
) )
func main() { func main() {