Documentation
¶
Index ¶
- Constants
- type APIError
- type Client
- func (c *Client) Active(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) Aged(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) CTCerts(ctx context.Context, params Params) (*ListResult, error)
- func (c *Client) CTSearch(ctx context.Context, keyword string, params Params) (*ListResult, error)
- func (c *Client) CTSubdomains(ctx context.Context, domain string, params Params) (*ListResult, error)
- func (c *Client) DNS(ctx context.Context, domain string) (map[string]any, error)
- func (c *Client) Deleted(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) Expired(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) Export(ctx context.Context, resource string, params Params) ([]byte, error)
- func (c *Client) Health(ctx context.Context) (map[string]any, error)
- func (c *Client) IPLookup(ctx context.Context, query string) (*IPInfo, error)
- func (c *Client) KeywordTrends(ctx context.Context, trendType string, params Params) ([]map[string]any, error)
- func (c *Client) Market(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) MonitorChanges(ctx context.Context, params Params) (*ListResult, error)
- func (c *Client) NRDs(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) NRDsDownload(ctx context.Context, params Params) ([]byte, error)
- func (c *Client) NRDsLive(ctx context.Context, params Params) (*SearchResult, error)
- func (c *Client) NSReverse(ctx context.Context, ns string, params Params) (*NSReverseResult, error)
- func (c *Client) Object(ctx context.Context, path string, params Params) (map[string]any, error)
- func (c *Client) Paginate(ctx context.Context, resource string, params Params, fn func(Domain) bool) error
- func (c *Client) Registrar(ctx context.Context, query string, params Params) (*RegistrarResult, error)
- func (c *Client) RequestRaw(ctx context.Context, path string, params Params) ([]byte, http.Header, error)
- func (c *Client) Safety(ctx context.Context, domain string) (map[string]any, error)
- func (c *Client) SearchStatus(ctx context.Context) (map[string]any, error)
- func (c *Client) StatusGuide(ctx context.Context, query string) ([]EPPStatus, error)
- func (c *Client) TLDCheck(ctx context.Context, prefix string, params Params) (map[string]any, error)
- func (c *Client) TLDTrends(ctx context.Context, trendType string, params Params) ([]map[string]any, error)
- func (c *Client) Typosquat(ctx context.Context, domain string, params Params) (*ListResult, error)
- func (c *Client) Usage(ctx context.Context) (map[string]any, error)
- func (c *Client) Whois(ctx context.Context, domain string) (map[string]any, error)
- type Domain
- type EPPStatus
- type IPInfo
- type ListResult
- type NSDomain
- type NSReverseResult
- type Params
- type RateLimit
- type RegistrarRecord
- type RegistrarResult
- type SearchResult
Constants ¶
View Source
const ( DefaultBaseURL = "https://premium-api.domainkits.com/api/v1" MaxLimit = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CTSubdomains ¶
func (*Client) KeywordTrends ¶
func (*Client) MonitorChanges ¶
func (*Client) NRDsDownload ¶
func (*Client) RequestRaw ¶
func (*Client) SearchStatus ¶
func (*Client) StatusGuide ¶
type Domain ¶
type Domain struct {
Domain string `json:"domain"`
TLD string `json:"tld,omitempty"`
Created string `json:"created,omitempty"`
Expires string `json:"expires,omitempty"`
Period int `json:"period,omitempty"`
Age int `json:"age,omitempty"`
Length int `json:"length,omitempty"`
Components []string `json:"components,omitempty"`
ForSale string `json:"for_sale,omitempty"`
Platform string `json:"platform,omitempty"`
ListedDays *int `json:"listed_days,omitempty"`
Status string `json:"status,omitempty"`
AuctionDate string `json:"auction_date,omitempty"`
FoundDate string `json:"found_date,omitempty"`
Category string `json:"category,omitempty"`
Majestic *int `json:"majestic,omitempty"`
Backlinks *int `json:"backlinks,omitempty"`
Hold string `json:"hold,omitempty"`
RegYear string `json:"reg_year,omitempty"`
ExpYear string `json:"exp_year,omitempty"`
TLDCount int `json:"tld_count,omitempty"`
Live *bool `json:"live,omitempty"`
}
type IPInfo ¶ added in v0.3.9
type IPInfo struct {
IP string `json:"ip"`
Type string `json:"type"`
ASN *int `json:"asn"`
ASOrganization string `json:"as_organization"`
Continent string `json:"continent"`
ContinentCode string `json:"continent_code"`
Country string `json:"country"`
CountryCode string `json:"country_code"`
IsEU bool `json:"is_eu"`
Region string `json:"region"`
RegionCode string `json:"region_code"`
City string `json:"city"`
Postal string `json:"postal"`
Latitude *float64 `json:"latitude"`
Longitude *float64 `json:"longitude"`
Timezone string `json:"timezone"`
}
type ListResult ¶
type NSReverseResult ¶ added in v0.3.5
type RegistrarRecord ¶ added in v0.3.9
type RegistrarRecord struct {
ID string `json:"id"`
Name string `json:"name"`
Status string `json:"status"`
RdapURL string `json:"rdap_url"`
IsDropCatch bool `json:"is_drop_catch"`
ParentID string `json:"parent_id"`
ParentName string `json:"parent_name"`
Country string `json:"country"`
Contact string `json:"contact"`
Website string `json:"website"`
Address string `json:"address"`
Phone string `json:"phone"`
Email string `json:"email"`
RdapFetched bool `json:"rdap_fetched"`
}
type RegistrarResult ¶ added in v0.3.9
type RegistrarResult struct {
Data []RegistrarRecord
Total int
Limit int
Offset int
}
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.