feat: check status before storage call

This commit is contained in:
Noah Hsu
2022-09-03 22:32:09 +08:00
parent 849de88e68
commit 8fd56ef9dd
4 changed files with 43 additions and 5 deletions

View File

@ -9,6 +9,7 @@ type Config struct {
NoUpload bool `json:"no_upload"`
NeedMs bool `json:"need_ms"` // if need get message from user, such as validate code
DefaultRoot string `json:"default_root"`
CheckStatus bool
}
func (c Config) MustProxy() bool {