support multiple records.
This commit is contained in:
parent
b06d5f9f0a
commit
b079fb3c61
@ -12,13 +12,18 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// TODO: support array of (Type, RR)
|
// TODO: support array of (Type, RR)
|
||||||
|
|
||||||
|
type Record struct {
|
||||||
|
Type string `json:"Type"`
|
||||||
|
RR string `json:"RR"`
|
||||||
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
RegionId string `json:"regionId"`
|
RegionId string `json:"regionId"`
|
||||||
AccessKeyId string `json:"accessKeyId"`
|
AccessKeyId string `json:"accessKeyId"`
|
||||||
AccessSecret string `json:"accessSecret"`
|
AccessSecret string `json:"accessSecret"`
|
||||||
DomainName string `json:"domainName"`
|
DomainName string `json:"domainName"`
|
||||||
Type string `json:"Type"`
|
Records []Record
|
||||||
RR string `json:"RR"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type IpJson struct {
|
type IpJson struct {
|
||||||
|
Reference in New Issue
Block a user