Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponents ¶
Types ¶
type AqiResult ¶
type Area ¶
type HistoricalResult ¶
type HistoricalResult struct {
Area
Station
Eoi string `json:"eoi"`
Component string `json:"component"`
Location
Measurements []Measurement `json:"values"`
}
func GetHistorical ¶
func GetHistorical(f Filter) ([]HistoricalResult, error)
type Measurement ¶
type Measurement struct {
Station
Eoi string `json:"eoi"`
Component string `json:"component"`
FromTime time.Time `json:"fromTime"`
ToTime time.Time `json:"toTime"`
Value float64 `json:"value"`
Unit string `json:"unit"`
Index int `json:"index"`
Color string `json:"color"`
}
func GetMeasurements ¶
func GetMeasurements(f Filter) ([]Measurement, error)
type Result ¶
func GetForecasts ¶
Click to show internal directories.
Click to hide internal directories.