Documentation ¶
Index ¶
- type Http
- func AdapterHttpError(err error) Http
- func BadGateway(msg string) Http
- func BadRequest(msg string) Http
- func Conflict(msg string) Http
- func ContentTooLarge(msg string) Http
- func ExpectationFailed(msg string) Http
- func FailedDependency(msg string) Http
- func Forbidden(msg string) Http
- func GatewayTimeout(msg string) Http
- func Gone(msg string) Http
- func HttpVersionNotSupported(msg string) Http
- func IamATeapot(msg string) Http
- func InternalServer(msg string) Http
- func LengthRequired(msg string) Http
- func Locked(msg string) Http
- func MethodNotAllowed(msg string) Http
- func NotAcceptable(msg string) Http
- func NotFound(msg string) Http
- func NotImplemented(msg string) Http
- func PreconditionFailed(msg string) Http
- func PreconditionRequired(msg string) Http
- func RequestTimeout(msg string) Http
- func RequestURITooLong(msg string) Http
- func RequestedRangeNotSatisfiable(msg string) Http
- func ServiceUnavailable(msg string) Http
- func Throw(msg string, status int) Http
- func TooManyRequests(msg string) Http
- func Unauthorized(msg string) Http
- func UnprocessableEntity(msg string) Http
- func UnsupportedMediaType(msg string) Http
- func UpgradeRequired(msg string) Http
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Http ¶
func AdapterHttpError ¶
func BadGateway ¶
func BadRequest ¶
func ContentTooLarge ¶
func ExpectationFailed ¶
func FailedDependency ¶
func GatewayTimeout ¶
func HttpVersionNotSupported ¶
func IamATeapot ¶
func InternalServer ¶
func LengthRequired ¶
func MethodNotAllowed ¶
func NotAcceptable ¶
func NotImplemented ¶
func PreconditionFailed ¶
func PreconditionRequired ¶
func RequestTimeout ¶
func RequestURITooLong ¶
func ServiceUnavailable ¶
func TooManyRequests ¶
func Unauthorized ¶
func UnprocessableEntity ¶
func UnsupportedMediaType ¶
func UpgradeRequired ¶
Click to show internal directories.
Click to hide internal directories.