miscs

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DateLayout = "2006-01-02"
View Source
const DateTimeLayout = "2006-01-02 15:04:05"
View Source
const TimeLayout = "15:04:05"

Variables

DefSysSigs 默认监听的系统信号

Functions

func CatchRecover added in v1.1.15

func CatchRecover(fs ...func(interface{}))

CatchRecover 捕获异常处理

func CatchSysSig added in v1.1.41

func CatchSysSig(f func(os.Signal), signs ...os.Signal)

CatchSysSig 捕获系统信号 捕获后处理

Types

This section is empty.

Jump to

Keyboard shortcuts

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