Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 238 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 238 Bytes

go-influxdb

Go integration for InfluxDB

Send Data:

$ curl -i -X POST localhost:8080/iot -H "Content-Type: application/json" -d '{"gpu_id": "3070", "rig_id": "10", "current_watts": 120}'

Get Data:

$ curl -i -X GET localhost:8080/iot