Versions in this module Expand all Collapse all v0 v0.1.1 Feb 6, 2020 v0.1.0 Feb 6, 2020 Changes in this version + const MostRecentConstraint + const MostRecentPostFilter + func Fields(ss ...string) func(*Request) + func FlightPath(maxDist float64, waypoints ...string) func(*Request) + func HoursBeforeNow(h float64) func(*Request) + func LonLatRect(minLat, minLon, maxLat, maxLon float64) func(*Request) + func MinDegreeDistance(d float64) func(*Request) + func MostRecent(mr bool) func(*Request) + func MostRecentForEachStation(s string) func(*Request) + func RadialDistance(r, lat, lon float64) func(*Request) + func StationString(s string) func(*Request) + func TimeRange(from, to time.Time) func(*Request) + type Client struct + func (c *Client) GetMETARs(ctx context.Context, req *Request) (*Response, error) + type METAR struct + AltimInHg float32 + DewpointC float32 + ElevationM float32 + FlightCategory string + Latitude float32 + Longitude float32 + METARType string + MaxT24HrC float32 + MaxTC float32 + MinT24HrC float32 + MinTC float32 + ObservationTime string + Pcp24HrIn float32 + Pcp3HrIn float32 + Pcp6HrIn float32 + PrecipIn float32 + QualityControlFlags QCFlags + RawText string + SeaLevelPressureMb float32 + SkyConditions []SkyCondition + SnowIn float32 + StationID string + TempC float32 + ThreeHrPressureTendencyMb float32 + VertVisFt int + VisibilityStatuteMi float32 + WindDirDegrees int + WindGustKt int + WindSpeedKt int + WxString string + type QCFlags struct + Auto string + AutoStation string + Corrected string + FreezingRainSensorOff string + LightningSensorOff string + MaintenanceIndicatorOn string + NoSignal string + PresentWeatherSensorOff string + type Request struct + func NewRequest(args ...func(*Request)) *Request + type Response struct + Data struct{ ... } + DataSource struct{ ... } + Errors []string + Request struct{ ... } + RequestIndex int + TimeTakenMs int + Warnings []string + type SkyCondition struct + CloudBaseFtAGL int + SkyCover string