Versions in this module Expand all Collapse all v0 v0.7.1 Sep 14, 2022 v0.7.0 Jul 8, 2022 Changes in this version + var DefaultContentTypeHeader = "application/json; charset=utf-8" + var EscapeHTML = false + func Accepted(w http.ResponseWriter, response interface{}) + func BadGateway(w http.ResponseWriter, response interface{}) + func BadRequest(w http.ResponseWriter, response interface{}) + func Conflict(w http.ResponseWriter, response interface{}) + func Continue(w http.ResponseWriter, response interface{}) + func Created(w http.ResponseWriter, response interface{}) + func ExpectationFailed(w http.ResponseWriter, response interface{}) + func Forbidden(w http.ResponseWriter, response interface{}) + func Found(w http.ResponseWriter, response interface{}) + func GatewayTimeout(w http.ResponseWriter, response interface{}) + func Gone(w http.ResponseWriter, response interface{}) + func HTTPVersionNotSupported(w http.ResponseWriter, response interface{}) + func HandleBodyReadError(err error, w http.ResponseWriter) (responded bool) + func InternalServerError(w http.ResponseWriter, response interface{}) + func LengthRequired(w http.ResponseWriter, response interface{}) + func MethodNotAllowed(w http.ResponseWriter, response interface{}) + func MovedPermanently(w http.ResponseWriter, response interface{}) + func MultipleChoices(w http.ResponseWriter, response interface{}) + func NewMaxBodyBytesHandler(limit int64) func(http.Handler) http.Handler + func NoContent(w http.ResponseWriter) + func NonAuthoritativeInfo(w http.ResponseWriter, response interface{}) + func NotAcceptable(w http.ResponseWriter, response interface{}) + func NotFound(w http.ResponseWriter, response interface{}) + func NotFoundHandler(w http.ResponseWriter, _ *http.Request) + func NotImplemented(w http.ResponseWriter, response interface{}) + func NotModified(w http.ResponseWriter, response interface{}) + func OK(w http.ResponseWriter, response interface{}) + func PartialContent(w http.ResponseWriter, response interface{}) + func PaymentRequired(w http.ResponseWriter, response interface{}) + func PermanentRedirect(w http.ResponseWriter, response interface{}) + func PreconditionFailed(w http.ResponseWriter, response interface{}) + func PreconditionRequired(w http.ResponseWriter, response interface{}) + func ProxyAuthRequired(w http.ResponseWriter, response interface{}) + func RequestEntityTooLarge(w http.ResponseWriter, response interface{}) + func RequestHeaderFieldsTooLarge(w http.ResponseWriter, response interface{}) + func RequestTimeout(w http.ResponseWriter, response interface{}) + func RequestURITooLong(w http.ResponseWriter, response interface{}) + func RequestedRangeNotSatisfiable(w http.ResponseWriter, response interface{}) + func ResetContent(w http.ResponseWriter, response interface{}) + func Respond(w http.ResponseWriter, statusCode int, response interface{}) + func SeeOther(w http.ResponseWriter, response interface{}) + func ServiceUnavailable(w http.ResponseWriter, response interface{}) + func SwitchingProtocols(w http.ResponseWriter, response interface{}) + func Teapot(w http.ResponseWriter, response interface{}) + func TemporaryRedirect(w http.ResponseWriter, response interface{}) + func TooManyRequests(w http.ResponseWriter, response interface{}) + func Unauthorized(w http.ResponseWriter, response interface{}) + func UnavailableForLegalReasons(w http.ResponseWriter, response interface{}) + func UnsupportedMediaType(w http.ResponseWriter, response interface{}) + func UpgradeRequired(w http.ResponseWriter, response interface{}) + func UseProxy(w http.ResponseWriter, response interface{}) + type MethodHandler map[string]http.Handler + func (h MethodHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type StatusResponse struct + Code int + Message string