signals

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSignalHandler

func SetupSignalHandler() chan struct{}

SetupSignalHandler registered for SIGINT. A stop channel is returned which is closed on one of these signals.

func SetupTwoWaySignalHandler

func SetupTwoWaySignalHandler() chan os.Signal

SetupTwoWaySignalHandler registered for SIGINT. It is a two way signal handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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