acpi

package
v0.6.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PowerButtonEvent is the ACPI event name associated with the power off
	// button.
	PowerButtonEvent = "button/power"
)

Variables

This section is empty.

Functions

func StartACPIListener

func StartACPIListener() (err error)

StartACPIListener starts listening for ACPI netlink events.

nolint: gocyclo

Types

This section is empty.

Jump to

Keyboard shortcuts

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