Versions in this module Expand all Collapse all v0 v0.2.0 Sep 16, 2026 Changes in this version type Me + Plugins []PluginInfo + func (m Me) Plugin(name string) (PluginInfo, bool) + type PluginInfo struct + Name string + Routes []PluginRoute + Title string + Version string + type PluginRoute struct + Access string + Path string v0.1.0 Sep 14, 2026 Changes in this version + type CarSetup struct + RearWing *SetupValue + Tyres []SetupTyre + UpdateCount int + Values []SetupValue + type CarState struct + FuelLevelL float64 + FuelUsedL float64 + TyreTempC TyreTemps + type Code string + const CodeClientTooOld + const CodeConflict + const CodeForbidden + const CodeInvalid + const CodeNotFound + const CodeRateLimited + const CodeServerError + const CodeUnauthorized + func Codes() []Code + func (c Code) HTTPStatus() int + func (c Code) Known() bool + func (c Code) Retryable() bool + type Conditions struct + AirTempC float64 + Humidity float64 + Skies int + TrackTempC float64 + Wetness int + WindKmh float64 + type Corner struct + ApexKmh int + ApexPct int + BrakeAtApex int + DeficitKmh int + Pattern CornerPattern + RefApexKmh int + ThrottleLag int + Turn int + type CornerPattern string + const PatternEarlyApex + const PatternLateBraking + const PatternSlowExit + type Discovery struct + API string + Accent string + Features []Feature + Limits Limits + Logo string + MinClient string + Name string + PairURI string + PrivacyURI string + ShortName string + func (d Discovery) Has(f Feature) bool + type Driver struct + Avatar string + Class string + ID string + Name string + Slug string + type Error struct + Code Code + Detail map[string]any + Message string + RetryAfterS int + func (e *Error) Error() string + type ErrorEnvelope struct + Error *Error + func NewError(code Code, message string) *ErrorEnvelope + type Feature string + const FeatureCoach + const FeatureCompetition + const FeatureField + const FeatureLive + const FeatureReference + const FeatureSetups + const FeatureTTS + const FeatureTelemetry + type FieldCar struct + BestMs int + Class string + DistPct float64 + Driver string + GapMs int + Inc int + IsPlayer bool + Lap int + LastMs int + Num string + Pit bool + type FieldReport struct + Cars []FieldCar + Flag Flag + LapsTotal int + SessionType SessionType + StintID string + type FieldResult struct + Armed bool + OK bool + type Flag string + const FlagBlack + const FlagCheckered + const FlagGreen + const FlagRed + const FlagWhite + const FlagYellow + type Kind string + const KindClean + const KindIn + const KindInvalid + const KindOut + type Lap struct + Corners []Corner + Kind Kind + LapMs int + Number int + StartedAt time.Time + Trace []TracePoint + type LapBatch struct + Laps []Lap + type LapBatchResult struct + Accepted int + BestLapMs int + type Limits struct + FieldIntervalMs int + LapsPerRequest int + LiveIntervalMs int + MaxBodyBytes int + SummaryIntervalMs int + TracePoints int + type LivePoint struct + Lap int + OnPitRoad bool + OnTrack bool + type LiveSample struct + At time.Time + CurLap []TracePoint + Sample LivePoint + StintID string + type Me struct + Driver Driver + Features []Feature + Team *Team + func (m Me) Has(f Feature) bool + type OK struct + OK bool + type PairPoll struct + Driver *Driver + Status PairStatus + Token string + type PairPollRequest struct + DeviceCode string + type PairStart struct + DeviceCode string + ExpiresInS int + IntervalS int + UserCode string + VerificationURI string + type PairStatus string + const StatusApproved + const StatusDenied + const StatusExpired + const StatusPending + type ReferenceLap struct + DriverName string + LapMs int + Scope Scope + Trace []TracePoint + type Scope string + const ScopeCar + const ScopeClass + const ScopeSelf + type SessionType string + const SessionPractice + const SessionQualifying + const SessionRace + const SessionTesting + type SetupTyre struct + ColdKpa float64 + HotKpa float64 + TempInnerC float64 + TempMiddleC float64 + TempOuterC float64 + TreadInnerPct float64 + TreadMiddlePct float64 + TreadOuterPct float64 + Wheel Wheel + type SetupValue struct + Group string + Name string + Number float64 + Text string + Unit string + type Stint struct + Car string + CarClass string + Sectors []float64 + SessionType SessionType + Setup *CarSetup + Sim string + StartedAt time.Time + Track string + TrackID string + type StintResult struct + SessionID *string + StintID string + type Summary struct + AvgLapMs int + BestLapMs int + BestTrace []TracePoint + CarState CarState + Conditions Conditions + ConsistencyPct int + FinishedAt *time.Time + Incidents int + Laps int + TopSpeedKmh int + type TTSRequest struct + Lang string + Text string + Voice *string + type Team struct + ID string + Name string + type TracePoint struct + Brake int + DistPct int + Gear int + La int + LatG int + Lo int + LongG int + OffsetMs int + RPM int + SpeedKmh int + Steer int + Throttle int + func (p TracePoint) HasGPS() bool + type TyreTemps struct + LF float64 + LR float64 + RF float64 + RR float64 + type Wheel string + const WheelLF + const WheelLR + const WheelRF + const WheelRR