Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactsGetter ¶
type ContactsGetter interface {
Contacts() Contacts
}
ContactsGetter allows for easy embedding (?)
type Domain ¶
type Domain interface { ContactsGetter PrivacyGetter RecordsGetter Agreements([]string, bool, bool) *http.Request IsAvailable() (*domainsEndpoint.Available, error) GetDetails() (*domainsEndpoint.DomainDetails, error) }
Domain represents the `domains` GoDaddy API endpoint
type Gateway ¶
type Gateway interface { V1Getter }
Gateway allows you to select different versions of the GoDaddy API
func InitDevelopment ¶
InitDevelopment targets GoDaddy's development API (https://api.ote-godaddy.com)
func InitProduction ¶
InitProduction targets GoDaddy's production API (https://api.godaddy.com)
type PrivacyGetter ¶
type PrivacyGetter interface {
Privacy() Privacy
}
PrivacyGetter makes embedding easier
type Records ¶
type Records interface {
GetAll() (*[]domainsEndpoint.DNSRecord, error)
}
Records is a struct builds out the `records` piece of GoDaddy's API
type RecordsGetter ¶
type RecordsGetter interface {
Records() Records
}
RecordsGetter makes embedding easier
Source Files ¶
Click to show internal directories.
Click to hide internal directories.