Merge pull request 'support multiple records.' (#1) from dev01 into master

Reviewed-on: https://gitea.wq520.cloud:4435/wangjiacai/alidns/pulls/1
This commit is contained in:
wangjiacai 2021-04-23 00:43:21 +08:00
commit ec7743a9a2

View File

@ -12,13 +12,18 @@ import (
)
// TODO: support array of (Type, RR)
type Record struct {
Type string `json:"Type"`
RR string `json:"RR"`
}
type Config struct {
RegionId string `json:"regionId"`
AccessKeyId string `json:"accessKeyId"`
AccessSecret string `json:"accessSecret"`
DomainName string `json:"domainName"`
Type string `json:"Type"`
RR string `json:"RR"`
Records []Record
}
type IpJson struct {