Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithSignals ¶
WithSignals returns a context that is canceled when the process receives one of the given signals. When ctx is nil, a default Background context is used. When signals is empty, the context will be canceled by the default os.Interrupt signal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.