feat: add alert for driver

This commit is contained in:
Andy Hsu
2023-02-23 22:00:17 +08:00
parent 0d3146b51d
commit 4be8524d80
4 changed files with 14 additions and 3 deletions

View File

@ -9,7 +9,8 @@ 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
CheckStatus bool `json:"-"`
Alert string `json:"alert"` //info,success,warning,danger
}
func (c Config) MustProxy() bool {