Skip to content

avegner/rfkill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Aleksei Vegner
Jan 23, 2020
409a1f8 · Jan 23, 2020

History

5 Commits
Jan 23, 2020
Jan 22, 2020
Jan 23, 2020
Jan 23, 2020
Jan 22, 2020
Jan 23, 2020
Jan 23, 2020
Jan 23, 2020

Repository files navigation

rfkill

rfkill abstraction lib for Go

API

API is pretty simple and self-explanatory. There're no New and Close funcs. Only recurrent (thread-safe) funcs exist.

Tests & Benches

To run all tests:

go test

To run all benches:

go test -run XXX -bench .

Env. parameters:

  • ID - device ID, uint
  • TYPE - device type, uint

Be careful with benches since some radio devices may get unstable after lots of state changes.