Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Global is gracenet Net struct Global = &gracenet.Net{} )
Functions ¶
func CallOriProcessTerm ¶
func CallOriProcessTerm(done chan struct{}) bool
CallOriProcessTerm notifies parent process to exist.
func IsInherit ¶
func IsInherit() bool
IsInherit returns if I am the child process on gracefully updating process.
func NotifySigUsr2 ¶
func NotifySigUsr2(closeCls func(), restartCls func()) error
NotifySigUsr2 handles signal SIGUSR2 to gracefully update.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.