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