winpowrprof

package
v0.4.0-beta.20 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: GPL-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

View Source
const (
	EVENT_SUSPEND = iota
	EVENT_RESUME
	EVENT_RESUME_AUTOMATIC // Because the user is not present, most applications should do nothing.
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventListener

type EventListener interface {
	Start() error
	Close() error
}

func NewEventListener

func NewEventListener(callback func(event int)) (EventListener, error)

Jump to

Keyboard shortcuts

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