signals

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenOSInterrupt

func ListenOSInterrupt(callback func())

ListenOSInterrupt listens for OS interrupt signals and calls callback on receive. It should be called in a separate goroutine from the main program as it blocks the execution until a signal is received.

Types

This section is empty.

Jump to

Keyboard shortcuts

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