Versions in this module Expand all Collapse all v0 v0.8.0 Feb 14, 2018 Changes in this version + type ApiResponse struct + Tos string + Version string + type Condition int + func (c *Condition) UnmarshalJSON(b []byte) error + func (c Condition) String() string + type DailyRecord struct + Fog int + Hail int + Meanpressurei DumbFloat + Meantempi DumbFloat + Precipi DumbFloat + Rain int + Snow int + Thunder int + Tornado int + type DumbFloat float32 + func (f *DumbFloat) UnmarshalJSON(b []byte) error + type HistoryRecord struct + DailyRecord []DailyRecord + HourlyRecords []HourlyRecord + type HourlyRecord struct + Cond *Condition + Fog int + Hail int + Humidity DumbFloat + Precipi DumbFloat + Pressurei DumbFloat + Rain int + Snow int + Tempi DumbFloat + Thunder int + Time TimeRecord + Tornado int + type Main struct + BufferSize int + Concurrency int + Index string + PilosaHost string + URLFile string + WeatherCache *WeatherCache + func NewMain() *Main + func (m *Main) Run() error + type RecordFile struct + History HistoryRecord + Response ApiResponse + type TimeRecord struct + Hour int + Mday int + Min int + Mon int + Year int + type WeatherCache struct + URLFile string + func NewWeatherCache() *WeatherCache + func (c *WeatherCache) GetDailyRecord(day time.Time) (DailyRecord, error) + func (c *WeatherCache) GetHourlyRecord(daytime time.Time) (HourlyRecord, error) + func (c *WeatherCache) ReadAll() error