Documentation ¶
Overview ¶
Package breaker provides OSSignals struct for OS signals handling (with context).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSSignals ¶
type OSSignals struct {
// contains filtered or unexported fields
}
OSSignals allows to subscribe for system signals.
func NewOSSignals ¶
NewOSSignals creates new subscriber for system signals.
Click to show internal directories.
Click to hide internal directories.