Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestMethods = map[string]string{
"GET": "GET",
"POST": "POST",
"DELETE": "DELETE",
"PATCH": "PATCH",
"PUT": "PUT",
}
RequestMethods holds all acceptable request methods
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { // GoDaddy API Key, note that the prod and dev API's have unique API keys/secrets APIKey string // GoDaddy API Secret, note that the prod and dev API's have unique API keys/secrets APISecret string // HTTP REST method we validate this Method string // The URL you wish to send your request to URL string // The GoDaddy domain name you wish to target - mostly used internally Host string // The body of your request, if you need one Body []byte }
Request holds request data
Click to show internal directories.
Click to hide internal directories.