Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRecord ¶
type DNSRecord struct {
vercelClient.DNSRecord
Type string `json:"type"`
// Normally MXPriority would be uint16 type, but since vercelClient.DNSRecord uses int64, we'd better be consistent here
MXPriority int64 `json:"mxPriority"`
}
DNSRecord is a helper struct to unmarshal the JSON response. It embeds vercelClient.DNSRecord to reuse the upstream type, but adds fields to handle API inconsistencies (type vs recordType, mxPriority).