Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve401 ¶ added in v1.2.0
func Serve401(w http.ResponseWriter)
Serve401 returns a 401 error response / HTML page to the http.ResponseWriter
func Serve404 ¶
func Serve404(w http.ResponseWriter)
Serve404 returns a 404 error response / HTML page to the http.ResponseWriter
func Serve500 ¶
func Serve500(w http.ResponseWriter)
Serve500 returns a 500 error response / HTML page to the http.ResponseWriter
func Serve502 ¶
func Serve502(w http.ResponseWriter)
Serve502 returns a 502 error response / HTML page to the http.ResponseWriter
func Serve503 ¶ added in v0.6.1
func Serve503(w http.ResponseWriter)
Serve503 returns a 503 error response / HTML page to the http.ResponseWriter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.