exit

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExitCodeSuccess = exit code 0
	ExitCodeSuccess = 0
	// ExitCodeError = exit code 1
	ExitCodeError = 1
	// ExitCodeRestart = exit code 5
	ExitCodeRestart = 5
)

Variables

View Source
var (
	IsShared = false

	Args string
	Code int

	Closer event.Event
	Server *http.Server
)

Functions

func Exit

func Exit(code int)

func Panic

func Panic(err error)

func PanicCovered

func PanicCovered(err error)

func PanicWithCode

func PanicWithCode(err error, code int)

func Reset

func Reset()

Types

This section is empty.

Jump to

Keyboard shortcuts

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