generated from msb_47094/GinChat
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
641 B
24 lines
641 B
10 months ago
|
mysql:
|
||
|
dns: root:1234@tcp(192.168.137.131:3308)/ginchat?charset=utf8mb4&parseTime=True&loc=Local
|
||
|
redis:
|
||
|
addr: "192.168.137.131:6379"
|
||
|
password: ""
|
||
|
DB: 0
|
||
|
poolSize: 30
|
||
|
minIdleConn: 30
|
||
|
oss:
|
||
|
Endpoint: "oss-cn-hangzhou.aliyuncs.com"
|
||
|
AccessKeyId: "LTAI5tNCXPJwS3MstKoKgixh"
|
||
|
AccessKeySecret: "YhHE8OyCMsqfjwOnxQ1oO7paYlDjVHX"
|
||
|
Bucket : "ginchat"
|
||
|
|
||
|
timeout:
|
||
|
DelayHeartbeat: 3 #延迟心跳时间 单位秒
|
||
|
HeartbeatHz: 30 #每隔多少秒心跳时间
|
||
|
HeartbeatMaxTime: 30000 #最大心跳时间 ,超过此就下线
|
||
|
RedisOnlineTime: 4 #缓存的在线用户时长 单位H
|
||
|
|
||
|
port:
|
||
|
server: ":8082"
|
||
|
udp: 3001
|