Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSignalChannel ¶
NewSignalChannel returns a new channel for interrupt signals.
Call the returned function to cancel sending to this channel.
func WithCancel ¶
WithCancel returns a context that is cancelled if interrupt signals are sent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.