Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterSignal ¶
AfterSignal returns a channel which will be closed after the given duration or until a SIGHUP is received
func InterruptContext ¶
InterruptContext returns a context which is cancelled on OS Interrupt
func SleepSignal ¶
SleepSignal sleeps for the given duration, or until a SIGHUP is received
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.