Documentation ¶
Index ¶
Constants ¶
View Source
const ( DNSSource = "dns" GoDaddySource = "gds" NameCheapSource = "ncs" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
DNS handles checking availablility of domain names via DNS
type DNSConfig ¶
type DNSConfig struct {
Enabled bool
}
DNSConfig holds the configuration for the DNS source
type GoDaddy ¶
type GoDaddy struct { Source // contains filtered or unexported fields }
GoDaddy handles godaddy.com API requests
type GoDaddyConfig ¶
GoDaddyConfig holds the configuration for the namecheap.com source
type NameCheap ¶
type NameCheap struct {
// contains filtered or unexported fields
}
NameCheap handles namecheap.com API requests
type NameCheapConfig ¶
NameCheapConfig holds the configuration for the namecheap.com source
type Source ¶
Source is the interface for domain search sources
func NewGoDaddy ¶
func NewGoDaddy(config *GoDaddyConfig) Source
NewGoDaddy returns a new GoDaddy instance
func NewNameCheap ¶
func NewNameCheap(config *NameCheapConfig) Source
NewNameCheap returns a new NameCheap instance
Click to show internal directories.
Click to hide internal directories.