application

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package application provides functionality for gracefully shutting down the application.

Index

Constants

This section is empty.

Variables

View Source
var (
	PANIC chan error     = make(chan error, 1)
	SIGS  chan os.Signal = make(chan os.Signal, 1)
)

Functions

func Wait

func Wait() error

Wait listens for signals and errors, and performs appropriate actions based on them. It waits for a signal to gracefully shut down the application or for an error to occur.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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