Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Statuses = [...]int{
200, 201, 202, 203, 204, 205, 206,
300, 301, 302, 303, 304, 305, 307,
400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418,
500, 501, 502, 503, 504, 505,
}
)
Functions ¶
This section is empty.
Types ¶
type ParrotHandler ¶
type ParrotHandler struct{}
func (*ParrotHandler) ServeHTTP ¶
func (h *ParrotHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ParrotResponse ¶
type StatusHandler ¶
type StatusHandler struct {
Status int
}
func (*StatusHandler) ServeHTTP ¶
func (h *StatusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type StatusResponse ¶
Click to show internal directories.
Click to hide internal directories.