hzsafe

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFatal

func CheckFatal(content string, args ...interface{})

检查并记录异常日志

func RegRunFunc

func RegRunFunc(f RunFunc)

func SafeRunFuncList

func SafeRunFuncList()

SafeRunFuncList 防崩溃调用

Types

type RunFunc

type RunFunc func()

func SafeRun

func SafeRun(runFunc RunFunc) RunFunc

Jump to

Keyboard shortcuts

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