package
module
Version:
v0.0.0-...-6ed0d21
Opens a new window with list of versions in this module.
Published: Dec 28, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Idle
Cross-platform idle time detection in Go (Golang).
Untitled, Zdislav Beksinski
Overview
Read and run idle.go command for an example of the API usage:
> go run cmd/idle.go
2015/06/13 22:55:43 Idle for 1 seconds.
2015/06/13 22:55:44 Idle for 2 seconds.
2015/06/13 22:55:45 Idle for 3 seconds.
2015/06/13 22:55:46 Idle for 4 seconds.
2015/06/13 22:55:47 Idle for 5 seconds.
2015/06/13 22:55:50 Idle for 1 seconds.
2015/06/13 22:55:51 Idle for 2 seconds.
2015/06/13 22:55:52 Idle for 3 seconds.
2015/06/13 22:55:53 Idle for 4 seconds.
2015/06/13 22:55:54 Idle for 5 seconds.
To do
- Docs.
Windows support.
- Better OSX: Figure out how to collect these values using
c.go
.
- Test Linux.
License
MIT
Documentation
¶
Get idle time for Linux Xorg
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.