panicrecovery

package
v2.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PanicChan = make(chan error)

Functions

func HandleBubbledPanic

func HandleBubbledPanic(ctx context.Context, stop context.CancelFunc, log logr.Logger)

handleBubbledPanic receives errors from panicChan, then it will print them and stop() context.

func PanicRecovery

func PanicRecovery()

panicRecovery recovers from panics and sends them to panicChan

Types

This section is empty.

Jump to

Keyboard shortcuts

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