package
Version:
v1.6.7
Opens a new window with list of versions in this module.
Published: Mar 27, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package state allows you to switch running state from true/false to false/true.
View Source
var (
ErrStateEnabled = errors.New("state already enabled")
ErrStateDisabled = errors.New("state already disabled")
ErrFuncEnable = errors.New("enable state function")
ErrFuncDisable = errors.New("disable state function")
)
type IStateF func() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.