Documentation ¶
Index ¶
- type DnsRecord
- func (resolved *DnsRecord) Equals(ip *DnsRecord) bool
- func (resolved *DnsRecord) HasIpV4() bool
- func (resolved *DnsRecord) HasIpV6() bool
- func (resolved *DnsRecord) Hash() string
- func (resolved *DnsRecord) IsValid() bool
- func (resolved *DnsRecord) String() string
- func (resolved *DnsRecord) Validate() error
- type UpdateRecordRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsRecord ¶ added in v1.16.0
type DnsRecord struct { IpV4 string `json:"ipv4,omitempty"` IpV6 string `json:"ipv6,omitempty"` Host string `json:"host"` Timestamp time.Time `json:"timestamp"` }
func NewResolvedIp ¶
type UpdateRecordRequest ¶ added in v1.16.0
type UpdateRecordRequest struct { PublicIp DnsRecord `json:"public_ip"` Signature string `json:"signature"` }
func (*UpdateRecordRequest) Validate ¶ added in v1.16.0
func (r *UpdateRecordRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.