feat:允许设定首次登录失败后是否进入守护

This commit is contained in:
Mmx
2021-07-31 18:29:50 +08:00
parent a6be2fa234
commit b148eea874
6 changed files with 37 additions and 40 deletions

View File

@@ -6,11 +6,12 @@ import (
)
type Settings struct {
QuitIfNetOk bool `json:"quit_if_net_ok"`
DemoMode bool `json:"demo_mode"`
Dns string `json:"dns"`
Guardian uint `json:"guardian"`
Daemon bool `json:"daemon"`
QuitIfNetOk bool `json:"quit_if_net_ok"`
DemoMode bool `json:"demo_mode"`
Dns string `json:"dns"`
Guardian uint `json:"guardian"`
Daemon bool `json:"daemon"`
ForceGuardianEvenFailed bool `json:"force_guardian_even_failed"`
}
type Config struct {