Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Daemonlize ¶
Make current program a Unix/Linux daemon or Windows service name: daemon/service name desc: daemon/service description
func GracefulShutdown ¶
func GracefulShutdown()
https://github.com/vrecan/death https://github.com/tj/go-gracefully https://github.com/klauspost/shutdown
func Undaemonlize ¶
func Undaemonlize() error
Make current program NOT a Unix/Linux daemon or Windows service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.