Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchDomains ¶
Types ¶
type Client ¶
type Client struct {
*req.Client
}
func (*Client) DomainDetails ¶
func (c *Client) DomainDetails(domain string) (resp DomainDetailsResponse, err error)
func (*Client) Subdomains ¶
func (c *Client) Subdomains(domain string, subdomainsOnly, includeInactive bool) (resp SubdomainResponse, err error)
Subdomains returns a list of subdomains for a given domain. If subdomainsOnly is true, only subdomains are returned. If includeInactive is true, inactive subdomains are included.
type DNSRecordResponse ¶
type DNSResponse ¶
type DNSResponse struct { A DNSRecordResponse `json:"a"` AAAA DNSRecordResponse `json:"aaaa"` MX DNSRecordResponse `json:"mx"` NS DNSRecordResponse `json:"ns"` SOA DNSRecordResponse `json:"soa"` TXT DNSRecordResponse `json:"txt"` }
type DomainDetailsResponse ¶
type MetaResponse ¶
type MetaResponse struct {
LimitReached bool `json:"limit_reached"`
}
type SubdomainResponse ¶
type SubdomainResponse struct { Endpoint string `json:"endpoint"` Meta MetaResponse `json:"meta"` SubdomainCount int `json:"subdomain_count"` Subdomains []string `json:"subdomains"` }
Click to show internal directories.
Click to hide internal directories.