diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-03-17 19:07:49 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-03-17 19:07:49 +0300 |
| commit | 96786c94189f3d2f3f04c1915529c786228bdf42 (patch) | |
| tree | 879085e09a3cd485f3246f46be907fe77eb84a1a /web/entity | |
| parent | bc56e637376142c370c31b17558fc3778a863bd2 (diff) | |
alireza
Diffstat (limited to 'web/entity')
| -rw-r--r-- | web/entity/entity.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/entity/entity.go b/web/entity/entity.go index f8572f66..372f5caa 100644 --- a/web/entity/entity.go +++ b/web/entity/entity.go @@ -34,11 +34,14 @@ type AllSetting struct { WebBasePath string `json:"webBasePath" form:"webBasePath"` TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"` TgBotToken string `json:"tgBotToken" form:"tgBotToken"` - TgBotChatId int `json:"tgBotChatId" form:"tgBotChatId"` + TgBotChatId string `json:"tgBotChatId" form:"tgBotChatId"` TgRunTime string `json:"tgRunTime" form:"tgRunTime"` + TgBotBackup bool `json:"tgBotBackup" form:"tgBotBackup"` + TgExpireDiff int `json:"tgExpireDiff" form:"tgExpireDiff"` + TgTrafficDiff int `json:"tgTrafficDiff" form:"tgTrafficDiff"` + TgCpu int `json:"tgCpu" form:"tgCpu"` XrayTemplateConfig string `json:"xrayTemplateConfig" form:"xrayTemplateConfig"` - - TimeLocation string `json:"timeLocation" form:"timeLocation"` + TimeLocation string `json:"timeLocation" form:"timeLocation"` } func (s *AllSetting) CheckValid() error { |
