Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forecast ¶ added in v0.5.0
type Forecast struct {
Forecastday []Forecastday `json:"forecastday"`
}
type Forecastday ¶ added in v0.5.0
type Hour ¶ added in v0.5.0
type Hour struct {
TimeEpoch int `json:"time_epoch"`
Time string `json:"time"`
TempC float64 `json:"temp_c"`
TempF float64 `json:"temp_f"`
WindMph float64 `json:"wind_mph"`
WindKph float64 `json:"wind_kph"`
WindDegree int `json:"wind_degree"`
PressureMb float64 `json:"pressure_mb"`
PressureIn float64 `json:"pressure_in"`
PrecipMm float64 `json:"precip_mm"`
PrecipIn float64 `json:"precip_in"`
Cloud int `json:"cloud"`
FeelslikeC float64 `json:"feelslike_c"`
FeelslikeF float64 `json:"feelslike_f"`
DewpointC float64 `json:"dewpoint_c"`
DewpointF float64 `json:"dewpoint_f"`
ChanceOfRain string `json:"chance_of_rain"`
ChanceOfSnow string `json:"chance_of_snow"`
GustMph float64 `json:"gust_mph"`
GustKph float64 `json:"gust_kph"`
}
type TheGlobalWeather ¶ added in v0.5.0
type TheGlobalWeather struct {
Key string
// contains filtered or unexported fields
}
func (*TheGlobalWeather) GetAstrocast ¶ added in v0.7.0
func (t *TheGlobalWeather) GetAstrocast() (weather.AstroEvents, error)
func (*TheGlobalWeather) GetWeather ¶ added in v0.5.0
func (t *TheGlobalWeather) GetWeather() (weather.Records, error)
type VisualCrossing ¶
type VisualCrossing struct {
Key string
// contains filtered or unexported fields
}
func (*VisualCrossing) GetAstrocast ¶ added in v0.7.0
func (v *VisualCrossing) GetAstrocast() (weather.AstroEvents, error)
func (*VisualCrossing) GetWeather ¶
func (v *VisualCrossing) GetWeather() (weather.Records, error)
Click to show internal directories.
Click to hide internal directories.