diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-03-17 19:30:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-17 19:30:14 +0300 |
| commit | f25a7a571e6103587558e970673a09375b1ef318 (patch) | |
| tree | 24e645ff37cec8d8b166bfe59403c4fb19a1da2c /web/entity/entity.go | |
| parent | b9ffe62d698016b52a5a36ede0eb2bdf86085d8a (diff) | |
| parent | 87e173b56767a861210dc0cc4913bab232765dfd (diff) | |
Merge pull request #26 from MHSanaei/dev
alireza
Diffstat (limited to 'web/entity/entity.go')
| -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 { |
