mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 18:10:25 +08:00
13 lines
226 B
Go
13 lines
226 B
Go
package dnsproviders
|
|
|
|
import "github.com/iwind/TeaGo/maps"
|
|
|
|
// DNS操作接口
|
|
type ProviderInterface interface {
|
|
// 认证
|
|
Auth(params maps.Map) error
|
|
|
|
// 读取线路数据
|
|
GetRoutes(domain string) ([][]string, error)
|
|
}
|