improve: 修正 log 配置项大小写;添加 ddns 配置项
This commit is contained in:
@@ -30,10 +30,11 @@ type Log struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
Basic Basic `json:"basic" yaml:"basic" mapstructure:"basic"`
|
Basic Basic `json:"basic" yaml:"basic" mapstructure:"basic"`
|
||||||
Guardian Guardian `json:"guardian" yaml:"guardian" mapstructure:"guardian"`
|
Guardian Guardian `json:"guardian" yaml:"guardian" mapstructure:"guardian"`
|
||||||
Daemon Daemon `json:"daemon" yaml:"daemon" mapstructure:"daemon"`
|
Daemon Daemon `json:"daemon" yaml:"daemon" mapstructure:"daemon"`
|
||||||
Log Log
|
Log Log `json:"log" yaml:"log" mapstructure:"log"`
|
||||||
|
DDNS map[string]interface{} `json:"ddns" yaml:"ddns" mapstructure:"ddns"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user