Files
go-worm/lib/blackout/blackout.go
T

14 lines
161 B
Go
Raw Normal View History

2026-09-02 13:32:21 +03:00
package blackout
func Enabled() bool { return running() }
func Set(on bool) error {
if on {
return start()
}
stop()
return nil
}
func Stop() { stop() }