|
|
@ -1,5 +1,5 @@
|
|
|
|
Features:
|
|
|
|
Features:
|
|
|
|
Default: ["Sqlite3", "Zinc", "LocalOSS", "LoggerZinc", "BigCacheIndex", "Friendship", "Frontend:EmbedWeb", "Web"]
|
|
|
|
Default: ["Sqlite3", "Zinc", "LocalOSS", "LoggerFile", "BigCacheIndex", "Friendship", "Frontend:EmbedWeb", "Web"]
|
|
|
|
BigCacheIndex: # 使用BigCache缓存泡泡广场消息流
|
|
|
|
BigCacheIndex: # 使用BigCache缓存泡泡广场消息流
|
|
|
|
MaxIndexPage: 1024 # 最大缓存页数,必须是2^n, 代表最大同时缓存多少页数据
|
|
|
|
MaxIndexPage: 1024 # 最大缓存页数,必须是2^n, 代表最大同时缓存多少页数据
|
|
|
|
HardMaxCacheSize: 256 # 最大缓存大小(MB),0表示无限制
|
|
|
|
HardMaxCacheSize: 256 # 最大缓存大小(MB),0表示无限制
|
|
|
@ -8,14 +8,6 @@ WebServer: # Web服务
|
|
|
|
HttpPort: 8008
|
|
|
|
HttpPort: 8008
|
|
|
|
ReadTimeout: 60
|
|
|
|
ReadTimeout: 60
|
|
|
|
WriteTimeout: 60
|
|
|
|
WriteTimeout: 60
|
|
|
|
Logger: # 日志通用配置
|
|
|
|
|
|
|
|
Level: debug # 日志级别 panic|fatal|error|warn|info|debug|trace
|
|
|
|
|
|
|
|
LoggerZinc: # 使用Zinc写日志
|
|
|
|
|
|
|
|
Host: 127.0.0.1:4080
|
|
|
|
|
|
|
|
Index: paopao-log
|
|
|
|
|
|
|
|
User: admin
|
|
|
|
|
|
|
|
Password: admin
|
|
|
|
|
|
|
|
Secure: False
|
|
|
|
|
|
|
|
JWT: # 鉴权加密
|
|
|
|
JWT: # 鉴权加密
|
|
|
|
Secret: 18a6413dc4fe394c66345ebe501b2f26
|
|
|
|
Secret: 18a6413dc4fe394c66345ebe501b2f26
|
|
|
|
Issuer: paopao-api
|
|
|
|
Issuer: paopao-api
|
|
|
|