2017-08-30 10:26:32 +00:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"addr": ":19090",
|
|
|
|
"tls": false
|
|
|
|
},
|
2017-09-05 07:48:19 +00:00
|
|
|
"auth": {
|
|
|
|
"signingKey": "tWB0lUXiCwX4U3qsJZcZ10mKvEH793RHkTJDbDuZVshQTk4uNB6ck59UQ96lhsRi4XNUiEnlIbP8XYQMPabeNtERX3iyHeDcwocgUVAor1nkAajYeq1gNyJszGpMhEOT"
|
|
|
|
},
|
2017-08-30 10:26:32 +00:00
|
|
|
"websocket": {
|
|
|
|
"HandshakeTimeout": 0,
|
|
|
|
"ReadBufferSize": 8192,
|
|
|
|
"WriteBufferSize": 8192,
|
|
|
|
"EnableCompression": false
|
|
|
|
},
|
|
|
|
"grpc": {
|
2017-09-08 04:53:16 +00:00
|
|
|
"addr": "192.168.1.50:50006",
|
2017-08-30 10:26:32 +00:00
|
|
|
"tls": false,
|
|
|
|
"pool": {
|
|
|
|
"MaxIdle": 1,
|
|
|
|
"MaxCapacity": 3,
|
|
|
|
"increaseCapacity": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"redis": {
|
|
|
|
"network": "tcp",
|
2017-09-01 07:07:30 +00:00
|
|
|
"addr": "192.168.1.50:6379",
|
2017-08-30 10:26:32 +00:00
|
|
|
"tls": false,
|
|
|
|
"pool": {
|
|
|
|
"MaxIdle": 3,
|
|
|
|
"IdleTimeout": 240,
|
|
|
|
"increaseCapacity": 10
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"handlers": {
|
|
|
|
"web": {
|
|
|
|
"entry": "/web",
|
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"entry": "/file",
|
|
|
|
"socket": {
|
|
|
|
"MaxMessageSize": 8192,
|
|
|
|
"WriteTimeout": 0,
|
|
|
|
"ReadTimeout": 0,
|
|
|
|
"PongTimeout": 60,
|
|
|
|
"PingTimeout": 10,
|
|
|
|
"PingPeriod": 10,
|
|
|
|
"BinaryMessage": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-30 11:48:38 +00:00
|
|
|
},
|
|
|
|
"logging": {
|
|
|
|
"level": "debug",
|
|
|
|
"development": true,
|
|
|
|
"disableCaller": true,
|
|
|
|
"disableStacktrace": true,
|
|
|
|
"sampling": {
|
|
|
|
"initial": 100,
|
|
|
|
"thereafter": 100
|
|
|
|
},
|
|
|
|
"encoding": "console",
|
|
|
|
"encoderConfig": {
|
|
|
|
"messageKey": "message",
|
|
|
|
"levelKey": "level",
|
|
|
|
"timeKey": "time",
|
|
|
|
"nameKey": "name",
|
|
|
|
"callerKey": "caller",
|
|
|
|
"stacktraceKey": "stacktrace",
|
|
|
|
"lineEnding": "\n",
|
|
|
|
"levelEncoder": "color",
|
|
|
|
"timeEncoder": "ISO8601",
|
|
|
|
"durationEncoder": "string",
|
|
|
|
"callerEncoder": "full",
|
|
|
|
"nameEncoder": "full"
|
|
|
|
},
|
|
|
|
"outputPaths": ["stdout", "/tmp/logs"],
|
2017-09-05 07:48:19 +00:00
|
|
|
"errorOutputPaths": ["stderr"]
|
2017-08-30 10:26:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|