feat: 加入对直接访问https api的支持

This commit is contained in:
Mmx233
2022-03-01 23:24:57 +08:00
parent 7867a99f3b
commit d0f9ea488c
9 changed files with 43 additions and 17 deletions

View File

@@ -13,6 +13,7 @@ type Guardian struct {
}
type Basic struct {
Https bool `json:"https"`
Timeout uint `json:"timeout"`
Interfaces string `json:"interfaces"`
SkipNetCheck bool `json:"skip_net_check" yaml:"skip_net_check"`
@@ -26,8 +27,9 @@ type Settings struct {
}
type Debug struct {
Enable bool `json:"enable"`
Path string `json:"path"`
Enable bool `json:"enable"`
WriteLog bool `json:"write_log" yaml:"write_log"`
LogPath string `json:"log_path" yaml:"log_path"`
}
type Config struct {