handler

package
v0.0.0-...-e7dc765 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoveryHandler

func RecoveryHandler(logger *log.Logger) func(h http.Handler) http.Handler

RecoveryHandler is a HTTP middleware that recovers from a panic, logs the panic, and writes http.StatusInternalServerError

Types

This section is empty.

Jump to

Keyboard shortcuts

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