recover

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeGo

func SafeGo(name string, fn func())

SafeGo runs fn in a goroutine wrapped with panic recovery. Panics are logged via slog with stack trace and emit a "goroutine_panic" event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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