recovery

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package recovery provides a recover function

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recovery

func Recovery(f RecoverFunction) func()

Recovery returns a recover function with error stack added.

Types

type RecoverFunction

type RecoverFunction func(err error)

Jump to

Keyboard shortcuts

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