shutdown

package
v0.15.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSignals

func GetSignals() []os.Signal

GetSignals returns the appropriate signals to catch for a clean shutdown, dependent on the OS.

On Unix-like operating systems, it is important to catch SIGTERM in addition to SIGINT.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL