Documentation ¶
Index ¶
- Constants
- Variables
- func CreateArchivingLive(ctx context.Context, archiveFile string) (*live, error)
- func CreateLive(ctx context.Context, wg *sync.WaitGroup, log *f1log.F1GopherLibLog) *live
- func CreateReplay(ctx context.Context, wg *sync.WaitGroup, log *f1log.F1GopherLibLog, url string, ...) *replay
- type AssetStore
- type Connection
- type Payload
Constants ¶
View Source
const AudioStreamsFile = "AudioStreams"
View Source
const CarDataFile = "CarData.z"
View Source
const CatchupFile = "Catchup"
View Source
const ContentStreamsFile = "ContentStreams"
View Source
const DriverListFile = "DriverList"
View Source
const EndOfDataFile = "EndOfData"
These are special files that don't come from the raw data but we use internally
View Source
const ExtrapolatedClockFile = "ExtrapolatedClock"
View Source
const HeartbeatFile = "Heartbeat"
View Source
const LapCountFile = "LapCount"
View Source
const NotFoundResponse = "" /* 127-byte string literal not displayed */
View Source
const PositionFile = "Position.z"
View Source
const RaceControlMessagesFile = "RaceControlMessages"
View Source
const SessionDataFile = "SessionData"
View Source
const SessionInfoFile = "SessionInfo"
View Source
const SessionStatusFile = "SessionStatus"
View Source
const TeamRadioFile = "TeamRadio"
View Source
const TimingAppDataFile = "TimingAppData"
View Source
const TimingDataFile = "TimingData"
View Source
const TimingStatsFile = "TimingStats"
View Source
const TopThreeFile = "TopThree"
View Source
const TrackStatusFile = "TrackStatus"
View Source
const WeatherDataFile = "WeatherData"
Variables ¶
View Source
var OrderedFiles = [...]string{ DriverListFile, SessionInfoFile, LapCountFile, ExtrapolatedClockFile, TrackStatusFile, TimingDataFile, TimingAppDataFile, SessionStatusFile, SessionDataFile, HeartbeatFile, TimingStatsFile, CarDataFile, PositionFile, WeatherDataFile, RaceControlMessagesFile, TopThreeFile, AudioStreamsFile, TeamRadioFile, ContentStreamsFile, }
Functions ¶
func CreateArchivingLive ¶
func CreateLive ¶
func CreateReplay ¶
Types ¶
type AssetStore ¶
func CreateAssetStore ¶
func CreateAssetStore(url string, cache string, log *f1log.F1GopherLibLog) AssetStore
type Connection ¶
type Connection interface { Connect() (error, <-chan Payload) IncrementTime(amount time.Duration) JumpToStart() time.Time }
func CreateArchivedLive ¶
func CreateArchivedLive( ctx context.Context, wg *sync.WaitGroup, log *f1log.F1GopherLibLog, file string) Connection
Click to show internal directories.
Click to hide internal directories.