recover

package
v12.2.0-alpha9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: BSD-3-Clause Imports: 6 Imported by: 140

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