读取角色配置表

This commit is contained in:
huangxiaolei
2022-12-01 00:22:20 +08:00
parent 11e9e6a76d
commit 8c6bd85930
13 changed files with 311 additions and 31 deletions

View File

@@ -13,4 +13,4 @@ track_line = true
url = "mongodb://mongo:27017"
[mq]
nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222"
nats_url = "nats://nats:4222"

View File

@@ -8,4 +8,4 @@ method = "CONSOLE"
track_line = true
[mq]
nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222"
nats_url = "nats://nats:4222"

View File

@@ -9,5 +9,4 @@ track_line = true
url = "mongodb://mongo:27017"
[mq]
#nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222"
nats_url = "nats://127.0.0.1:4222"
nats_url = "nats://nats:4222"

24
cmd/gs/.gitignore vendored
View File

@@ -1,24 +0,0 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# GoLand
.idea
*.iml
# Binaries file
bin
GameDataConfigTable

View File

@@ -1,5 +1,6 @@
[hk4e]
resource_path = "./GameDataConfigTable"
game_data_config_path = "./game_data_config"
gacha_history_server = "https://hk4e.flswld.com/api/v1"
[logger]
@@ -11,4 +12,4 @@ track_line = true
url = "mongodb://mongo:27017"
[mq]
nats_url = "nats://nats1:4222,nats://nats2:4222,nats://nats3:4222"
nats_url = "nats://nats:4222"