exit

package
v0.0.0-...-b0c4c6d Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtExit

func AtExit(f func())

AtExit registers a function f that will be run when exit is called. The handlers so registered will be called the in reverse order of their registration.

func Exit

func Exit(status int)

Exit calls all AtExit handlers before exiting the process with status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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