添加DNS账号时自动读取DNS服务商下域名

This commit is contained in:
刘祥超
2021-08-19 14:26:34 +08:00
parent 70331805d7
commit df667c6ee6
18 changed files with 308 additions and 3 deletions

View File

@@ -9,6 +9,18 @@ import (
"testing"
)
func TestDNSPodProvider_GetDomains(t *testing.T) {
provider, err := testDNSPodProvider()
if err != nil {
t.Fatal(err)
}
domains, err := provider.GetDomains()
if err != nil {
t.Fatal(err)
}
t.Log(domains)
}
func TestDNSPodProvider_GetRoutes(t *testing.T) {
provider, err := testDNSPodProvider()
if err != nil {