Added weather route and embedded cache system

This commit is contained in:
2025-06-16 16:19:18 +02:00
commit dffec37d90
9 changed files with 385 additions and 0 deletions

11
types/metrics.go Normal file
View File

@@ -0,0 +1,11 @@
package types
// The Metrics data type, representing the humidity, pressure and
// similar miscellaneous values
type Metrics struct {
Humidity string `json:"humidity"`
Pressure string `json:"pressure"`
DewPoint string `json:"dewPoint"`
UvIndex int8 `json:"uvIndex"`
Visibility string `json:"visibility"`
}