//
pkg.gl
Category
github.com/jaredreisinger/sensorpush-proxy
pkg
sensorpush
package
0.1.4
Repository:
https://github.com/jaredreisinger/sensorpush-proxy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
237 SLOC
#
Functions
NewClient
NewClient creates a new SensorPush client.
NewClientWithApiClient
NewClientWithApiClient creates a new SensorPush client, seeded with a (most-likely mocked) client API.
#
Structs
Client
Client is a SensorPush API client.
Gateway
Gateway is a single gateway descriptor.
Sample
Sample is a single sensor reading.
Sensor
Sensor is a single sensor descriptor.
#
Interfaces
ApiClient
ApiClient is a client interface to ease testing of the client code.
#
Type aliases
Gateways
Gateways is a map of gateway descriptors, keyed by gateway ID.
Sensors
Sensors is a map of sensor descriptors, keyed by sensor device ID.