weberror

package
v0.0.0-...-8fa2440 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

Package weberror provides facilities for showing generic error pages based on HTTP status codes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(errorCode int) http.Handler

func Show

func Show(req *http.Request, errorCode int)

func ShowRW

func ShowRW(rw http.ResponseWriter, req *http.Request, errorCode int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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