Versions in this module Expand all Collapse all v3 v3.2.3 Jan 8, 2023 Changes in this version + func AstroToPoints(aes []AstroEvent, options WriteOptions) []*write.Point + func RecordsToPoints(rs []Record, options WriteOptions) []*write.Point + func SetDewpoint(r *Record, v float64) + func SetFeelsLike(r *Record, v float64) + func SetIceAmount(r *Record, v float64) + func SetPrecipitationProbability(r *Record, v float64) + func SetPreciptationAmount(r *Record, v float64) + func SetSkyCover(r *Record, v float64) + func SetSnowAmount(r *Record, v float64) + func SetTemperature(r *Record, v float64) + func SetWindDirection(r *Record, v float64) + func SetWindGust(r *Record, v float64) + func SetWindSpeed(r *Record, v float64) + type AstroEvent struct + FullMoonRatio *float64 + MoonUp *int + SunUp *int + Time time.Time + type Astrocaster interface + GetAstrocast func() ([]AstroEvent, error) + type Forecaster interface + GetWeather func() ([]Record, error) + type Initer interface + Init func(lat string, lon string, retryer http.Retryer) error + type Record struct + Dewpoint *float64 + FeelsLike *float64 + IceAmount *float64 + PrecipitationAmount *float64 + PrecipitationProbability *float64 + SkyCover *float64 + SnowAmount *float64 + Temperature *float64 + Time time.Time + WindDirection *float64 + WindGust *float64 + WindSpeed *float64 + type WriteOptions struct + ForecastSource string + ForecastTime *string + Location string + MeasurementName string