Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The HTTP request methods. GET = "GET" POST = "POST" PUT = "PUT" DELETE = "DELETE" HEAD = "HEAD" COPY = "COPY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { SendRequest(method, apiCall, rfc1123Date string, request *joyenthttp.RequestData, response *joyenthttp.ResponseData) (err error) // MakeServiceURL prepares a full URL to a service endpoint, with optional // URL parts. It uses the first endpoint it can find for the given service type. MakeServiceURL(parts []string) string SignURL(path string, expires time.Time) (string, error) }
Client implementations sends service requests to the JoyentCloud.
Click to show internal directories.
Click to hide internal directories.