exit

package
v0.0.0-...-f96a6a9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

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