Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SigtermCacellationContext ¶
SigtermCacellationContext returns a new context that is canceled when an interrupt signal (SIGTERM or SIGINT) is received. Additionaly invokes the provided onCancel function before canceling the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.