feat:支持后台模式与网络守护

This commit is contained in:
Mmx
2021-07-11 12:52:56 +08:00
parent e3f668c100
commit 257a9b7034
8 changed files with 192 additions and 86 deletions

View File

@@ -1,7 +1,7 @@
package modles
import (
"Mmx/Modles/util"
"Mmx/modles/util"
"reflect"
)
@@ -9,7 +9,8 @@ type Settings struct {
QuitIfNetOk bool `json:"quit_if_net_ok"`
DemoMode bool `json:"demo_mode"`
Dns string `json:"dns"`
Daemon uint `json:"daemon"`
Guardian uint `json:"guardian"`
Daemon bool `json:"daemon"`
}
type Config struct {