Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultInterruptSignals = []os.Signal{ os.Interrupt, os.Kill, syscall.SIGTERM, syscall.SIGQUIT, }
DefaultInterruptSignals is a set of default interrupt signals.
Functions ¶
func BlockOnInterrupts ¶
BlockOnInterrupts blocks until a SIGTERM is received. Passing in signals will override the default signals.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.