atexit

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MPL-2.0 Imports: 5 Imported by: 25

Documentation

Overview

Package atexit provides functionality similar to the C standard library's atexit() call.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit(status int)

Exit runs any registered exit functions in the inverse order they were registered and then exits with the specified status.

func Register

func Register(f func())

Register a function to be run at exit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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