signalwatcher

package
v2.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HUP  = Signal("HUP")
	QUIT = Signal("QUIT")
	TERM = Signal("TERM")
	INT  = Signal("INT")
)

Variables

This section is empty.

Functions

func Watch

func Watch(callback func(Signal))

Types

type Signal

type Signal string

func (Signal) String

func (s Signal) String() string

Jump to

Keyboard shortcuts

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