os/signal
Package signal
Overview
Package signal implements access to incoming signals.
Signals are primarily used on Unix-like systems. For the use of this package on Windows and Plan 9, see below.
Types of signals
The signals SIGKILL and SIGSTOP may not be caught by a program, and therefore cannot be affected by this package.
Synchronous signals are signals triggered by errors in program execution: SIGBUS, SIGFPE, and SIGSEGV. These are only considered synchronous when caused by program execution, not when sent using os.Process.Kill or the kill program or some similar mechanism. In general, except as discussed below, Go programs will