增加DNS域名管理

This commit is contained in:
GoEdgeLab
2020-11-12 14:41:28 +08:00
parent 761cb6ca60
commit 94204a61fb
28 changed files with 581 additions and 80 deletions

View File

@@ -1,7 +1,12 @@
package dnsproviders
import "github.com/iwind/TeaGo/maps"
// DNS操作接口
type ProviderInterface interface {
// 检查账号
// 认证
Auth(params maps.Map) error
// 读取线路数据
GetRoutes(domain string) ([][]string, error)
}