graceful

package
v0.0.0-...-4f40540 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnSignal

func OnSignal(handler Handler)

OnSignal registers a handler to be executed upon a kill signal.

Types

type Handler

type Handler func()

Handler represents a function that is executed when an kill signal is received.

Jump to

Keyboard shortcuts

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