Documentation
¶
Overview ¶
Scope: REST
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MimeType = struct { Json, Html, Text string }{ "application/json", "text/html", "text/plain", }
View Source
var UserAgent userAgent
Functions ¶
func HttpChainMiddlewareRequestDump ¶
func HttpChainMiddlewareRequestDump(next http.HandlerFunc) http.HandlerFunc
func HttpRedirectTo ¶
func HttpRedirectTo(resp *http.ResponseWriter, location string)
func RenderJsonErr ¶
func RenderJsonErr(resp http.ResponseWriter, httpStatus int, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.