recovery

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *options)

func WithHandler

func WithHandler(handler func(err interface{})) Option

type Recovery

type Recovery struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Recovery

func (*Recovery) Wrap

func (r *Recovery) Wrap(f func())

Jump to

Keyboard shortcuts

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