model

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbTrack

type DbTrack struct {
	ID            int      `json:"id"`
	Name          string   `json:"name"`
	ShortName     string   `json:"shortName"`
	Config        string   `json:"config"`
	TrackLength   float64  `json:"trackLength"`
	PitExit       float64  `json:"pitExit"`
	PitEntry      float64  `json:"pitEntry"`
	PitLaneLength float64  `json:"pitLaneLength"`
	Sectors       []Sector `json:"sectors"`
}

type Sector

type Sector struct {
	SectorNum      int     `json:"sectorNum"`
	SectorStartPct float64 `json:"sectorStartPct"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL