first commit
This commit is contained in:
63
gateway/api/v1/etc/gateway.toml
Normal file
63
gateway/api/v1/etc/gateway.toml
Normal 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 (撤回消息有效时间)
|
||||
Reference in New Issue
Block a user