[feature] optional pagination

This commit is contained in:
Alireza Ahmadi
2023-09-14 19:17:16 +02:00
parent 0d77b52f39
commit 95318f51c5
12 changed files with 54 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ type AllSetting struct {
WebKeyFile string `json:"webKeyFile" form:"webKeyFile"`
WebBasePath string `json:"webBasePath" form:"webBasePath"`
SessionMaxAge int `json:"sessionMaxAge" form:"sessionMaxAge"`
PageSize int `json:"pageSize" form:"pageSize"`
ExpireDiff int `json:"expireDiff" form:"expireDiff"`
TrafficDiff int `json:"trafficDiff" form:"trafficDiff"`
TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"`