exit

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package exit provide functionality to handle os signal (SIGINT, SIGKILL, SIGTERM) mainly to handle termination of service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(fn func(os.Signal))

Listen will listen to OS signals (currently SIGINT, SIGKILL, SIGTERM) and will trigger the callback when signal are received from OS

Types

This section is empty.

Jump to

Keyboard shortcuts

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