mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-31 18:46:35 +08:00
添加DNS账号时自动读取DNS服务商下域名
This commit is contained in:
@@ -12,6 +12,14 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCloudFlareProvider_GetDomains(t *testing.T) {
|
||||
provider, err := testCloudFlareProvider()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(provider.GetDomains())
|
||||
}
|
||||
|
||||
func TestCloudFlareProvider_GetRecords(t *testing.T) {
|
||||
provider, err := testCloudFlareProvider()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user