Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dief ¶
func Dief(format string, args ...interface{})
Dief formats according to a format specifier and writes to stderr. It then exits with code -1. Note a linebreak will be appended.
func WaitForSignal ¶
func WaitForSignal(callback func())
WaitForSignal creates a channel and wait until desired signal arriving. It's a block call so be sure you're using it correctly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.