first commit

This commit is contained in:
2022-03-17 15:59:24 +08:00
commit 2b0debb847
592 changed files with 73946 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
env = "debug"
[server]
addr = "0.0.0.0:19000"
[Trace]
ServiceName = "gateway"
Gen128Bit = true
[Trace.Sampler]
Type = "const"
Param = 1.0
[Trace.Reporter]
LogSpans = true
LocalAgentHostPort = "127.0.0.1:6831"
[AnswerRPCClient]
RegAddrs = "127.0.0.1:2379"
Schema = "dtalk"
SrvName = "answer"
Dial = "1s"
Timeout = "1s"
[StoreRPCClient]
RegAddrs = "127.0.0.1:2379"
Schema = "dtalk"
SrvName = "store"
Dial = "1s"
Timeout = "1s"
[GroupRPCClient]
RegAddrs = "127.0.0.1:2379"
Schema = "dtalk"
SrvName = "group"
Dial = "1s"
Timeout = "1s"
[[modules]]
Name = "wallet"
IsEnabled = true
EndPoints = ["http://172.16.101.87:8901","http://172.16.101.107:8083"] # changeme (1. 红包服务 http 服务地址, 2. 钱包服务 http 服务地址)
[[modules]]
Name = "redPacket"
IsEnabled = true
EndPoints = ["http://172.16.101.87:8901","http://172.16.101.107:8083"] # changeme (1. 红包服务 http 服务地址, 2. 钱包服务 http 服务地址)
[[modules]]
Name = "oa"
IsEnabled = true
EndPoints = ["http://127.0.0.1:20000"] # changeme (oa 服务地址)
[[modules]]
Name = "shop"
IsEnabled = true
EndPoints = ["http://146.56.218.121:12009"] # changeme (链上购服务地址)
[[modules]]
Name="live"
IsEnabled=true
EndPoints=[""]
[Revoke]
Expire = "86400h" #ten years (撤回消息有效时间)