chore: 修改 DDNS 启动逻辑

This commit is contained in:
Mmx233
2022-12-09 19:23:28 +08:00
parent 388ee21f64
commit 1cc47a39d0
3 changed files with 15 additions and 23 deletions

View File

@@ -9,12 +9,8 @@ type Provider interface {
type Config struct {
Provider string
IP string
Domain string
TTL uint
Conf map[string]interface{}
Http *http.Client
}
type BasicConfig struct {
Domain string `mapstructure:"domain"`
TTL uint `mapstructure:"ttl"`
Other map[string]interface{} `mapstructure:",remain"`
}