interrupt

package
v1.3.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func Chain

func Chain(handler *Handler, notify ...func()) *Handler

func New

func New(final func(os.Signal), notify ...func()) *Handler

func (*Handler) Close

func (h *Handler) Close()

func (*Handler) Run

func (h *Handler) Run(fn func() error) error

func (*Handler) Signal

func (h *Handler) Signal(s os.Signal)

Jump to

Keyboard shortcuts

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