secure

package
v0.0.0-...-d853fe5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package util 安全的协程和函数调用,其中协程数量不支持配置热更新.

Index

Constants

This section is empty.

Variables

View Source
var IsRelease string

IsRelease 是否为release模式运行.

Functions

func DO

func DO(f func())

SecureGO 带recover的go.

func GO

func GO(f func())

SecureGO 带recover的go.

func GOErrHandler

func GOErrHandler(err any)

GOErrHandler panic error handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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