support multiple records.

This commit is contained in:
jiacai_wang 2021-04-23 00:39:54 +08:00
parent b06d5f9f0a
commit b079fb3c61

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 {