Versions in this module Expand all Collapse all v0 v0.1.1 Dec 7, 2014 v0.1.0 Dec 7, 2014 Changes in this version + const StatusTooManyRequests + type Formatter interface + Format func(ProxyError) (statusCode int, body []byte, contentType string) + type HttpError struct + Body string + StatusCode int + func FromStatus(statusCode int) *HttpError + func (r *HttpError) Error() string + func (r *HttpError) GetStatusCode() int + func (r *HttpError) Headers() http.Header + type JsonFormatter struct + func (f *JsonFormatter) Format(err ProxyError) (int, []byte, string) + type ProxyError interface + Error func() string + GetStatusCode func() int + Headers func() http.Header + type RedirectError struct + URL *url.URL + func (r *RedirectError) Error() string + func (r *RedirectError) GetStatusCode() int + func (r *RedirectError) Headers() http.Header