httperrors

package
v1.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL