gosignal

package module
v0.0.0-...-d3945a0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2014 License: MIT Imports: 3 Imported by: 1

README

go-signal

A simple golang interrupt handler package

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObserveInterrupt

func ObserveInterrupt() *promise.Deferred

///////////////////////////////////////////////////////////////////////////////////////// NewSignalHandler /////////////////////////////////////////////////////////////////////////////////////////

Types

type SignalHandler

type SignalHandler struct {
	// contains filtered or unexported fields
}

///////////////////////////////////////////////////////////////////////////////////////// SignalHandler /////////////////////////////////////////////////////////////////////////////////////////

type SignalHandlerFunc

type SignalHandlerFunc func(os.Signal)

Jump to

Keyboard shortcuts

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