Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version of REX-Ray. Version *apitypes.VersionInfo )
Functions ¶
func IsExitSignal ¶ added in v0.5.0
IsExitSignal returns a flag indicating whether a signal is SIGKILL, SIGHUP, SIGINT, SIGTERM, or SIGQUIT. The second return value is whether it is a graceful exit. This flag is true for SIGHUP, SIGINT, and SIGQUIT.
func RegisterSignalHandler ¶ added in v0.5.0
func RegisterSignalHandler(f SignalHandlerFunc)
RegisterSignalHandler registers a SignalHandlerFunc.
func TrapSignals ¶ added in v0.5.0
TrapSignals tells the process to trap incoming process signals.
Types ¶
Click to show internal directories.
Click to hide internal directories.