package
0.0.0-20241210080315-c3156a239ea4
Repository: https://github.com/josephmusya/majiup-backend.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTankByIDHandler handles requests to the /tanks/:tankID endpoint.
No description provided by the author
GetWaterLevelHandler handles requests to retrieve the amount of water in liters for a specific tank.
GetWaterQualityHistoryHandler handles requests to retrieve water quality values for a specific tank.
GetWaterQualityValueHandler handles requests to retrieve the value of the water quality sensor for a specific tank.
GetWaterLevelHistoryHandler handles requests to retrieve water temperature values for a specific tank.
GetWaterTemperatureValueHandler handles requests to retrieve the value of the water temperature sensor for a specific tank.
TankHandler handles requests to the /tanks endpoint.
No description provided by the author
WaterQualitySensorHandler handles requests to retrieve tanks in a specific tank.
TankSensorsHandler handles requests to list all sensors for a specific tank.
TankStateHandler handles requests to retrieve the state of an actuator in a specific tank.
TankStateHistoryHandler handles requests to retrieve the history of sensor values stored in the actuator values for a specific tank.
TankStatePostHandler handles requests to update the state value of an actuator in a specific tank.
WaterLevelSensorHandler handles requests to retrieve water level sensors in a specific tank.
WaterQualitySensorHandler handles requests to retrieve water quality sensors in a specific tank.
WaterTemperatureSensorHandler handles requests to retrieve water temperature sensors in a specific tank.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Majiup actuator structure.
No description provided by the author
No description provided by the author
Majiup sensor structure.
No description provided by the author
No description provided by the author
No description provided by the author
Tank represents a tank with its properties.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author