recover

package
v8.4.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package recover provides recovery for specific routes or for the whole app via middleware. See _examples/miscellaneous/recover

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() context.Handler

New returns a new recover middleware, it recovers from panics and logs the panic message to the application's logger "Warn" level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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