Documentation ¶
Overview ¶
Package signal implements operating system-independent signal handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Incoming <-chan Signal
Incoming is the global signal channel. All signals received by the program will be delivered to this channel.
Functions ¶
This section is empty.
Types ¶
type Signal ¶
type Signal interface {
String() string
}
A Signal can represent any operating system signal.
type UnixSignal ¶
type UnixSignal int32
func (UnixSignal) String ¶
func (sig UnixSignal) String() string
Click to show internal directories.
Click to hide internal directories.