Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 2023 Changes in this version + type Client struct + Notify <-chan bool + func Managed(ctx context.Context, verbose bool) *Client + func Unmanaged(ctx context.Context, verbose bool, hostname string, port int) (*Client, error) + func (c *Client) Closed() + func (c *Client) Report() (*Report, error) + type Report struct + BarometerAbsolute *float64 + BarometerSeaLevel *float64 + BarometerTrend *float64 + DeviceID string + DewPointIndoor *float64 + Dewpoint *float64 + HeatIndex *float64 + HeatIndexIndoor *float64 + Humidity *float64 + HumidityIndoor *float64 + RXState string + RainLast15Min *float64 + RainLast24Hour *float64 + RainLast60Min *float64 + RainRateHigh *float64 + RainRateHighLast15Min *float64 + RainRateLast *float64 + RainSize *float64 + RainStorm *float64 + RainStormLast *float64 + RainStormLastEndAt *time.Time + RainStormLastStartAt *time.Time + RainStormStartAt *time.Time + RainfallDaily *float64 + RainfallMonthly *float64 + RainfallYear *float64 + SolarRad *float64 + THSWIndex *float64 + THWIndex *float64 + Temperature *float64 + TemperatureIndoor *float64 + Timestamp time.Time + TransBatteryFlag string + UVIndex *float64 + Wetbulb *float64 + WindChill *float64 + WindDirAtHighLast10Min *float64 + WindDirAtHighLast2Min *float64 + WindDirAvgLast10Min *float64 + WindDirAvgLast1Min *float64 + WindDirAvgLast2Min *float64 + WindDirLast *float64 + WindSpeedAvgLast10Min *float64 + WindSpeedAvgLast1Min *float64 + WindSpeedAvgLast2Min *float64 + WindSpeedHighLast10Min *float64 + WindSpeedHighLast2Min *float64 + WindSpeedLast *float64 + func NewReport(verbose bool) (*Report, chan bool) + func (r *Report) Copy() (*Report, error) + func (r *Report) Decode(payload []byte) error + func (r *Report) Encode() []byte + func (r *Report) JSON() []byte + func (r *Report) UpdateHTTP(new *parser.ConditionsHTTP) error + func (r *Report) UpdateJSON(payload []byte) error + func (r *Report) UpdateUDP(new *parser.ConditionsUDP) error