marge: 合并代码
This commit is contained in:
@@ -66,6 +66,8 @@ type YamlConfig struct {
|
||||
Chk2Ne bool `yaml:"chk2ne"`
|
||||
Sn string `yaml:"sn"`
|
||||
CheckSign bool `yaml:"checksign"`
|
||||
RootDir string `yaml:"rootDir"`
|
||||
BinDir string `yaml:"binDir"`
|
||||
Backup string `yaml:"backup"`
|
||||
Upload string `yaml:"upload"`
|
||||
FrontUpload string `yaml:"frontUpload"`
|
||||
@@ -82,10 +84,11 @@ type YamlConfig struct {
|
||||
Alarm struct {
|
||||
ForwardAlarm bool `yaml:"forwardAlarm"`
|
||||
Email struct {
|
||||
Smtp string `yaml:"smtp"`
|
||||
Port uint16 `yaml:"port"`
|
||||
User string `yaml:"user"`
|
||||
Password string `yaml:"password"`
|
||||
Smtp string `yaml:"smtp"`
|
||||
Port uint16 `yaml:"port"`
|
||||
User string `yaml:"user"`
|
||||
Password string `yaml:"password"`
|
||||
TlsSkipVerify bool `yaml:"tlsSkipVerify"`
|
||||
} `json:"email"`
|
||||
SMS struct {
|
||||
ApiURL string `yaml:"apiURL"`
|
||||
|
||||
Reference in New Issue
Block a user