Documentation
¶
Overview ¶
Package http provides an extendable shell API based on http.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = errorString("not implemented") ErrNotFound = errorString("not found") )
Functions ¶
func ResponseError ¶
ResponseError converts a http.Response into an error.
Types ¶
type HeaderReader ¶
type HeaderWriter ¶
type WithStatus ¶
type WithStatus interface { //StatusHTTP should return the HTTP status code //relating to this error. StatusHTTP() int }
Click to show internal directories.
Click to hide internal directories.