[sub] support optional usage info in Remark #453

This commit is contained in:
Alireza Ahmadi
2023-08-25 23:31:59 +02:00
parent af5d681c22
commit 7adc8755f8
11 changed files with 77 additions and 16 deletions

View File

@@ -55,6 +55,7 @@ type AllSetting struct {
SubKeyFile string `json:"subKeyFile" form:"subKeyFile"`
SubUpdates int `json:"subUpdates" form:"subUpdates"`
SubEncrypt bool `json:"subEncrypt" form:"subEncrypt"`
SubShowInfo bool `json:"subShowInfo" form:"subShowInfo"`
}
func (s *AllSetting) CheckValid() error {