An open API service indexing awesome lists of open source software.

https://github.com/tmsmr/pithermal

cat /sys/class/thermal/thermal_zone0/temp as Go Module.
https://github.com/tmsmr/pithermal

cpu-temperature golang raspberry-pi

Last synced: 5 months ago
JSON representation

cat /sys/class/thermal/thermal_zone0/temp as Go Module.

Awesome Lists containing this project

README

          

# pithermal
*`cat /sys/class/thermal/thermal_zone0/temp` as Go Module.*

## Usage

```go
import "github.com/tmsmr/pithermal"

...

temp, err := pithermal.GetCpuTemp()
if err != nil {
panic(err)
}
```

---
*Not worth a Module at the moment, but there may be more features in the future...*