feat: ddns 功能调用逻辑

This commit is contained in:
Mmx233
2022-12-08 16:30:29 +08:00
parent 7dc89fcf68
commit 2a386ff049
7 changed files with 100 additions and 0 deletions

14
dns/aliyun/aliyun.go Normal file
View File

@@ -0,0 +1,14 @@
package aliyun
import (
"github.com/Mmx233/BitSrunLoginGo/dns/models"
"github.com/Mmx233/BitSrunLoginGo/dns/util"
)
type DnsProvider struct {
}
func New(conf map[string]interface{}) (models.DnsProvider, error) {
var p DnsProvider
return &p, util.DecodeConfig(conf, &p)
}