Add encrypt subscription ON/OFF switch

This commit is contained in:
Sudo Space
2023-06-11 20:34:27 +03:30
parent 002b8177ec
commit 0650362222
10 changed files with 26 additions and 2 deletions

View File

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