Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Enabled bool // contains filtered or unexported fields }
Info contains the current DPMS status. It also exposes controller methods to change the DPMS status.
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module is a module for displaying and interacting with the current DPMS status.
func New ¶
New creates a new *Module which uses given provider to query and update the DPMS status. By default, the module will refresh every minute. The refresh interval can be configured using `Every`.
func (*Module) Every ¶
Every configures the refresh interval for the module. Passing a zero interval will disable refreshing.
Click to show internal directories.
Click to hide internal directories.