//
pkg.gl
Category
github.com/hunyxv/utils
shutdown
package
0.0.0-20230204233850-0a7e60f91997
Repository:
https://github.com/hunyxv/utils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
44 SLOC
#
Functions
NewHook
NewHook create a Hook instance.
#
Interfaces
Hook
Hook a graceful shutdown hook, default with signals of SIGINT and SIGTERM.