package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/larashed/cli.git
Documentation: pkg.go.dev

# README

This package provides helper functions for dealing with signals across various operating systems

# Packages

No description provided by the author

# Functions

CatchAll catches all signals and relays them to the specified channel.
DumpStacks appends the runtime stack into file in dir and returns full path to that file.
ParseSignal translates a string to a valid syscall signal.
StopCatch stops catching the signals and closes the specified channel.
Trap sets up a simplified signal "trap", appropriate for common behavior expected from a vanilla unix command-line tool in general (and the Docker engine in particular).
ValidSignalForPlatform returns true if a signal is valid on the platform.

# Constants

DefaultStopSignal is the syscall signal used to stop a container in unix systems.
SIGCHLD is a signal sent to a process when a child process terminates, is interrupted, or resumes after being interrupted.
SIGPIPE is a signal sent to a process when a pipe is written to before the other end is open for reading.
SIGWINCH is a signal sent to a process when its controlling terminal changes its size.

# Variables

SignalMap is a map of Linux signals.