Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.07 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.07 KB

Idle

Cross-platform idle time detection in Go (Golang).


Untitled, Zdislav Beksinski

Build Status

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