signals

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSignalHandler

func SetupSignalHandler(cancel context.CancelFunc)

SetupSignalHandler configures the cancel func to be called when one of the gracefulShutdownSignals is received. A subsequent gracefulShutdownSignal would trigger a forceful termination of the program.

Types

This section is empty.

Jump to

Keyboard shortcuts

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