Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct {
// contains filtered or unexported fields
}
Cfg implements Config interface
func (Cfg) GetCooldownTime ¶
GetCooldownTime returns cooldown duration
func (Cfg) GetMinUsageTime ¶
GetMinUsageTime returns minimum time duration
type Config ¶
type Config interface {
GetCooldownTime() time.Duration
GetMinUsageTime() time.Duration
LoopCheck() bool
LoopNext()
}
Config represents various configurations
type Current ¶
type Current struct{}
Current represents the current operating system
func (Current) GetApplicationName ¶
GetApplicationName returns the name of current forground application
Click to show internal directories.
Click to hide internal directories.