Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const DefaultBaseURL + const DefaultUserAgent + const Host + type Client struct + func NewClient() *Client + func NewClientWithConfig(cfg Config) *Client + func (c *Client) States(ctx context.Context, f StatesFilter) ([]*FlightState, error) + type Config struct + BaseURL string + Password string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + Username string + func DefaultConfig() Config + 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 FlightState struct + BaroAltitude *float64 + Callsign string + Country string + GeoAltitude *float64 + ICAO24 string + LastContact int64 + Latitude *float64 + Longitude *float64 + OnGround bool + PositionSource int + SPI bool + Squawk string + TimePosition *int64 + TrueTrack *float64 + Velocity *float64 + VerticalRate *float64 + type StatesFilter struct + BBox []float64 + ICAO24 string + Limit int + Time int64