appstatus

package
v0.0.0-...-8aeb8a1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Instance = &AppStatus{
	Idle: atomic.NewBool(false),
}

Instance is a Singleton struct for storing application status. Some services check this flag and don't perform any actions if Idle = true

Functions

This section is empty.

Types

type AppStatus

type AppStatus struct {
	Idle *atomic.Bool
}

AppStatus is a dto for keeping Application State

Jump to

Keyboard shortcuts

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