Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type AirForecast struct + ForecastBand string + ForecastSummary string + ForecastType string + Period string + type AirQuality struct + CurrentForecast []AirForecast + ForecastURL string + UpdateFreq string + UpdatePeriod string + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) GetAirQuality(ctx context.Context) (*AirQuality, error) + func (c *Client) GetDisruptions(ctx context.Context, mode string) ([]*Disruption, error) + func (c *Client) GetJourneys(ctx context.Context, from, to, mode string) ([]*Journey, error) + func (c *Client) GetLineStatus(ctx context.Context, mode string) ([]*LineStatus, error) + type Disruption struct + Category string + ClosureText string + CreatedTime string + Description string + Type string + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Journey struct + Duration int + Fare string + Legs int + type LineStatus struct + ID string + Mode string + Name string + Reason string + Severity int + StatusDesc string