feat: 重构守护入口逻辑

This commit is contained in:
Mmx
2021-09-19 20:54:23 +08:00
parent b148eea874
commit 334f5bbcf0
4 changed files with 12 additions and 17 deletions

View File

@@ -6,12 +6,10 @@ 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"`
ForceGuardianEvenFailed bool `json:"force_guardian_even_failed"`
DemoMode bool `json:"demo_mode"`
Dns string `json:"dns"`
Guardian uint `json:"guardian"`
Daemon bool `json:"daemon"`
}
type Config struct {