recover

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: BSD-3-Clause Imports: 4 Imported by: 470

Documentation

Overview

Package recover provides recovery for specific routes or for the whole app via middleware. See _examples/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