Documentation ¶
Index ¶
- func AddingRecords(err error, domainName string, recordName string) error
- func CheckingAvailability(err error, domainName string) error
- func CreatingNewRequest(err error) error
- func DeletingRecord(err error, domainName string, recordName string, recordType string) error
- func FindingRecordsByType(err error, domainName, recordType string) error
- func FindingRecordsByTypeAndName(err error, domainName, recordType, recordName string) error
- func GettingDomainDetails(err error, domainName string) error
- func InvalidAPIEnv(err error) error
- func InvalidAPIVersion(err error) error
- func InvalidJSONResponse(err error) error
- func InvalidStatusCode(expectedStatus, gotStatus int, err string) error
- func InvalidValue(message string) error
- func ListingDomains(err error) error
- func ListingRecords(err error, domainName string) error
- func PurchasingDomain(err error, domainName string) error
- func ReadingBodyContent(err error) error
- func SendingRequest(err error) error
- func UpdatingRecord(err error, domainName string, recordName string) error
- type Enum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddingRecords ¶
AddingRecords is thrown when an an error is encountered adding DNS record
func CheckingAvailability ¶
CheckingAvailability is thrown when we are unable to check domain availability
func CreatingNewRequest ¶
CreatingNewRequest is thrown when we are unable to send a request
func DeletingRecord ¶
DeletingRecord is thrown when an error is encountered deleting a DNS record
func FindingRecordsByType ¶
FindingRecordsByType is thrown when we are unable to list DNS records
func FindingRecordsByTypeAndName ¶
FindingRecordsByTypeAndName is thrown when we are unable to list DNS records
func GettingDomainDetails ¶
GettingDomainDetails is thrown when there is an error getting domain details
func InvalidAPIEnv ¶
InvalidAPIEnv is the error you get when an incorrect Gateway env (production or development) Is privided within a config
func InvalidAPIVersion ¶
InvalidAPIVersion is the error you get when an incorrect Gateway version is privided within a config
func InvalidJSONResponse ¶
InvalidJSONResponse is thrown when we are unable to read JSON response
func InvalidStatusCode ¶
InvalidStatusCode is when we recieve a bad status code from GoDaddy API
func InvalidValue ¶
InvalidValue is thrown when an invalid value is being used for an "enum"
func ListingDomains ¶
ListingDomains is thrown when we are unable to list DNS records
func ListingRecords ¶
ListingRecords is thrown when we are unable to list DNS records
func PurchasingDomain ¶
PurchasingDomain is thrown when we are unable to list DNS records
func ReadingBodyContent ¶
ReadingBodyContent is thrown when we are unable to read body content
func SendingRequest ¶
SendingRequest is thrown when we are unable to send a request