Documentation ¶
Index ¶
- func ConvertCar(m *model.Car) *carv1.Car
- func ConvertCarClass(m *model.CarClass) *carv1.CarClass
- func ConvertCarClasses(m []model.CarClass) []*carv1.CarClass
- func ConvertCarEntries(m []model.CarEntry) []*carv1.CarEntry
- func ConvertCarEntry(m *model.CarEntry) *carv1.CarEntry
- func ConvertCarInfo(m *model.CarInfo) *carv1.CarInfo
- func ConvertCarInfos(m []model.CarInfo) []*carv1.CarInfo
- func ConvertCurrentDrivers(m map[int]string) map[uint32]string
- func ConvertDriver(m *model.Driver) *driverv1.Driver
- func ConvertDrivers(m []model.Driver) []*driverv1.Driver
- func ConvertTeam(m *model.Team) *driverv1.Team
- type SpeedmapMessageConverter
- type StateConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SpeedmapMessageConverter ¶
type SpeedmapMessageConverter struct{}
func NewSpeedmapMessageConverter ¶
func NewSpeedmapMessageConverter() *SpeedmapMessageConverter
func (*SpeedmapMessageConverter) ConvertSpeedmapPayload ¶
func (c *SpeedmapMessageConverter) ConvertSpeedmapPayload( in *model.SpeedmapData, ) *speedmapv1.Speedmap
type StateConverter ¶
type StateConverter struct {
// contains filtered or unexported fields
}
func NewStateMessageConverter ¶
func NewStateMessageConverter(e *model.DbEvent, eventKey string) *StateConverter
func (*StateConverter) ConvertStatePayload ¶
func (p *StateConverter) ConvertStatePayload(m *model.StateData) *racestatev1.PublishStateRequest
Click to show internal directories.
Click to hide internal directories.