Documentation ¶
Overview ¶
Package daemonize provides daemonization interface for Unix platforms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartDaemon ¶
StartDaemon runs background twin of current process. It executes separate parts of code in child and parent processes. Returns child process pid in the parent or nil in the child. The method looks like a fork but safe for goroutines.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.