Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code string
Code represents the status of an action. It is a rough equivalent of the HTTP status code.
const ( OK Code = "200" Accepted Code = "202" NoContent Code = "204" PartialContent Code = "206" Invalid Code = "400" NotAuthorized Code = "401" NotPermitted Code = "403" NotFound Code = "404" Timeout Code = "408" Error Code = "500" NotImplemented Code = "501" NotAvailable Code = "503" NotSupported Code = "505" Unknown Code = "520" )
Response codes.
Click to show internal directories.
Click to hide internal directories.