cleanup

package
v0.0.0-...-80b24d7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

Cleanup invokes all registered cleanup functions

func Exit

func Exit(status int)

Exit invokes all registered cleanup functions, then exits

func Register

func Register(f func())

Register a cleanup function. This will be called when: - a call is made to Cleanup() - a call is made to Exit() - the current process receives SIGINT or SIGTERM

Types

This section is empty.

Jump to

Keyboard shortcuts

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