Versions in this module Expand all Collapse all v1 v1.1.2 Jul 5, 2020 v1.1.0 Apr 23, 2019 Changes in this version + type Obs struct + BaromIn *float64 + DewPoint *float64 + Gust *float64 + Precip *float64 + Pressure *float64 + RH *float64 + RainIn *float64 + Station int32 + Temp *float64 + TempF *float64 + Time *time.Time + UV *float64 + Wind *float64 + WindDir *int + WindGustMPH *float64 + WindSpeedMPH *float64 + type Req struct + Key string + Obss []Obs + Stations []Station + func (r *Req) Upload() (err error) + func (r Req) Body() string + func (r Req) Encode() string + type ShareOpt uint8 + const Open + const OpenWindy + const Private + func (o ShareOpt) MarshalText() (text []byte, err error) + func (o ShareOpt) String() string type Station + Elev int + Lat float64 + Lon float64 + Name string + Share ShareOpt + Station int32 + TempHeight int + WindHeight int v1.0.0 Apr 22, 2019 Changes in this version + var URL = "https://stations.windy.com/pws/update" + type Station struct + ID string + Key string + Time time.Time + func (s *Station) Upload(obs ...query.Values) (err error) + func (s Station) Encode(obs ...query.Values) string + type Wx struct + func (w *Wx) Bar(in float64) + func (w *Wx) DewPoint(f float64) + func (w *Wx) OutHumidity(p int) + func (w *Wx) OutTemp(f float64) + func (w *Wx) RainRate(in float64) + func (w *Wx) UVIndex(i float64) + func (w *Wx) WindDir(deg int) + func (w *Wx) WindGustSpeed(mph float64) + func (w *Wx) WindSpeed(mph float64)