2017-09-11 02:24:18 +00:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"addr": ":19190",
|
|
|
|
"tls": false
|
|
|
|
},
|
|
|
|
"auth": {
|
|
|
|
"signingKey": "tWB0lUXiCwX4U3qsJZcZ10mKvEH793RHkTJDbDuZVshQTk4uNB6ck59UQ96lhsRi4XNUiEnlIbP8XYQMPabeNtERX3iyHeDcwocgUVAor1nkAajYeq1gNyJszGpMhEOT"
|
|
|
|
},
|
|
|
|
"websocket": {
|
|
|
|
"HandshakeTimeout": 0,
|
|
|
|
"ReadBufferSize": 8192,
|
|
|
|
"WriteBufferSize": 8192,
|
|
|
|
"EnableCompression": false
|
|
|
|
},
|
2017-09-19 08:38:59 +00:00
|
|
|
"gRPC": {
|
2017-09-27 09:52:08 +00:00
|
|
|
"addr": "127.0.0.1:50006",
|
2017-09-11 02:24:18 +00:00
|
|
|
"tls": false,
|
|
|
|
"pool": {
|
|
|
|
"MaxIdle": 1,
|
|
|
|
"MaxCapacity": 3,
|
|
|
|
"increaseCapacity": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"redis": {
|
|
|
|
"network": "tcp",
|
|
|
|
"addr": "192.168.1.50:6379",
|
|
|
|
"tls": false,
|
|
|
|
"pool": {
|
|
|
|
"MaxIdle": 3,
|
|
|
|
"IdleTimeout": 240,
|
|
|
|
"increaseCapacity": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"handlers": {
|
2017-09-29 12:30:53 +00:00
|
|
|
"auth": {
|
|
|
|
"entry": "/auth",
|
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2017-09-11 02:24:18 +00:00
|
|
|
"probe": {
|
|
|
|
"entry": "/probe",
|
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
},
|
2017-09-29 12:30:53 +00:00
|
|
|
"metric": {
|
|
|
|
"entry": "/metric",
|
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"entry": "/file",
|
2017-09-11 02:24:18 +00:00
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|