dbproxy读取配置文件

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

View File

@ -44,6 +44,9 @@
"AppId": "5c56d1644966f078bfb90c71",
"IsDevMode": true
},
"data":{
"RootPath":"../data"
},
"etcd": {
"Url": ["127.0.0.1:2379"],
"UserName": "",

View File

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