backlight

package
v0.0.0-...-5b74cc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2019 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimerConfigError timerError = timerError{"do not set timerCh without setting timer first"}
View Source
var TimerError timerError = timerError{"timer is not time.Timer"}

Functions

This section is empty.

Types

type Config

type Config struct {
	IdleWaitTime time.Duration
	InputFiles   []io.Reader
	// contains filtered or unexported fields
}

type KbdBacklight

type KbdBacklight struct {
	*Config

	ErrorCh chan error
	// contains filtered or unexported fields
}

func NewKbdBacklight

func NewKbdBacklight(conf Config) (*KbdBacklight, error)

func (*KbdBacklight) Run

func (kbl *KbdBacklight) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL