process

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PanicRecover added in v0.1.4

func PanicRecover()

func SafeGo

func SafeGo(fn func())

SafeGo 启动一个协程并处理panic

func SafeGoWithRecover added in v0.1.4

func SafeGoWithRecover(fn func(), recoverFunc func())

SafeGoWithRecover 启动一个协程,使用自定义函数处理panic

Types

This section is empty.

Jump to

Keyboard shortcuts

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