Documentation
¶
Index ¶
- func GetModule() common.Module
- type Fan
- func (m *Fan) GetDescription() string
- func (m *Fan) GetLastRun() string
- func (m *Fan) GetName() string
- func (m *Fan) GetRunInterval() int64
- func (m *Fan) GetRunIntervalOnBattery() int64
- func (m *Fan) GetSlug() string
- func (m *Fan) GetWaybarOutput() (*common.WaybarOutput, error)
- func (m *Fan) IsEnabled() bool
- func (m *Fan) Run() error
- func (m *Fan) RunCommand(name string, args []string) error
- func (m *Fan) SaveLastRun()
- func (m *Fan) SuspendOnBattery() bool
- func (m *Fan) WriteOutput() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fan ¶
type Fan struct { Name string Description string Slug string // contains filtered or unexported fields }
func (*Fan) GetDescription ¶
func (*Fan) GetLastRun ¶
func (*Fan) GetRunInterval ¶
func (*Fan) GetRunIntervalOnBattery ¶
func (*Fan) GetWaybarOutput ¶
func (m *Fan) GetWaybarOutput() (*common.WaybarOutput, error)
func (*Fan) SaveLastRun ¶
func (m *Fan) SaveLastRun()
func (*Fan) SuspendOnBattery ¶
func (*Fan) WriteOutput ¶
Click to show internal directories.
Click to hide internal directories.