atexit

package
v1.0.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearExitHandler

func ClearExitHandler()

func Exit

func Exit(code int)

Exit runs all registered exit handlers and then exits the program with the specified exit code using os.Exit

func RegisterExitHandler

func RegisterExitHandler(exitHandler func(code int) int)

Register registers an exit handler function which is run when Exit is called

Types

This section is empty.

Jump to

Keyboard shortcuts

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