Back to godoc.org

Package power

v0.0.0-...-964c2da
Latest Go to latest

The highest tagged major version is .

Published: Sep 6, 2020 | License: GPL3 | Module: github.com/ftCommunity/roboheart

Index

Constants

const (
	PERMISSION = "power"
)

Variables

var Service = new(power)

type Power

type Power interface {
	Poweroff(token string) (error, bool)
	Reboot(token string) (error, bool)
	SetWakeAlarm(t time.Time, token string) (error, bool)
	UnsetWakeAlarm(token string) (error, bool)
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier