commonStatus

package
v0.0.0-...-05e86ca Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STENABLED  = "enabled"
	STDISABLED = "disabled"
	STYES      = "是"
	STNO       = "否"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TStatus

type TStatus struct {
	Lock    *sync.Mutex
	Running bool
}

func NewStatus

func NewStatus() *TStatus

func (*TStatus) IsRunning

func (status *TStatus) IsRunning() bool

func (*TStatus) SetRunning

func (status *TStatus) SetRunning(value bool)

Jump to

Keyboard shortcuts

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