cleanup

package
v0.0.0-...-9fb3cb1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2015 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, fn interface{}, args ...interface{})

Register registers a function with the given name and arguments to be called when the server exits.

func Run

func Run()

Run invokes the given function and arguments for each value in the map.

func RunAndQuit

func RunAndQuit(s os.Signal)

RunAndQuit does just that -- calls Run and then quits with the given signal code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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