feat: cloudflare DnsProvider 结构体

This commit is contained in:
Mmx233
2022-12-08 18:55:30 +08:00
parent d76f40d38e
commit db12e005e8
4 changed files with 62 additions and 8 deletions

View File

@@ -62,6 +62,7 @@ func Login(localAddr net.Addr, debugOutput bool) error {
}
// DDNS
enable, _ := global.Config.Settings.DDNS["enable"]
if open, _ := enable.(bool); open {
log.Debugln("开始 DDNS 设置流程")