增加DNS域名管理

This commit is contained in:
刘祥超
2020-11-12 14:41:28 +08:00
parent e1aa11cdb7
commit fe2fc4f6ca
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)
}