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) GetByType(string) (*[]domainsEndpoint.DNSRecord, error) GetByTypeName(string, string) (*[]domainsEndpoint.DNSRecord, error) }
Records allows you to interact with DNS records for a specific domain. Get or set DNS records
type RecordsGetter ¶
type RecordsGetter interface {
Records() Records
}
RecordsGetter makes embedding easier
Source Files ¶
Click to show internal directories.
Click to hide internal directories.