Documentation
¶
Index ¶
Constants ¶
View Source
const ( SIGINT = Signal(syscall.SIGINT) SIGHUP = Signal(syscall.SIGHUP) SIGTERM = Signal(syscall.SIGTERM) SIGQUIT = Signal(syscall.SIGQUIT) SIGKILL = Signal(syscall.SIGKILL) )
Supported termination signals.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signal ¶
Signal represents an operating system termination signal used to initiate graceful shutdown procedures. It wraps syscall.Signal to provide additional functionality for handling termination signals like SIGINT, SIGTERM, etc. See https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
func (Signal) MarshalText ¶
MarshalText returns the text representation of the signal.
func (*Signal) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.