Documentation ¶
Overview ¶
Signal handling for Linux only.
Index ¶
Constants ¶
View Source
const (
SIGWINCH = syscall.SIGWINCH // For cross-compilation with Windows
)
Variables ¶
This section is empty.
Functions ¶
func ParseSignal ¶
ParseSignal translates a string to a valid syscall signal. It returns an error if the signal map doesn't include the given signal.
func ParseSignalNameOrNumber ¶ added in v1.9.0
ParseSignalNameOrNumber translates a string to a valid syscall signal. Input can be a name or number representation i.e. "KILL" "9"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.