Documentation ¶
Index ¶
Constants ¶
View Source
const VERSION = "1.9.3"
Variables ¶
This section is empty.
Functions ¶
func GTSysUseSignalWaitAppExit ¶ added in v1.9.3
func GTSysUseSignalWaitAppExit(exitHandleFunc func(sigInfo *GTAppSignalInfo))
GTSysUseSignalWaitAppExit 处理程序信号,并且做一些操作,比如:保存状态、保存配置文件
func SetupGTGoTools ¶
func SetupGTGoTools(projectName string, logLevel logrus.Level, exitSignalHandle func(igInfo *GTAppSignalInfo))
SetupGTGoTools Requred Method 必须使用此方法初始化工具库 projectName--项目名称,logLevel--日志等级,exitSignalHandle--程序退出监听回调函数
Types ¶
type GTAppSignalInfo ¶ added in v1.9.3
Click to show internal directories.
Click to hide internal directories.