avegner / rfkill

rfkill abstraction lib for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

rfkill abstraction lib for Go

License:MIT License


Languages

Language:Go 100.0%