Documentation ¶
Index ¶
- Variables
- type Analysis
- func (*Analysis) Descriptor() ([]byte, []int)deprecated
- func (x *Analysis) GetCarInfo() []*CarInfo
- func (x *Analysis) GetCarLaps() []*CarLaps
- func (x *Analysis) GetCarPits() []*CarPit
- func (x *Analysis) GetCarStints() []*CarStint
- func (x *Analysis) GetRaceGraph() []*RaceGraph
- func (*Analysis) ProtoMessage()
- func (x *Analysis) ProtoReflect() protoreflect.Message
- func (x *Analysis) Reset()
- func (x *Analysis) String() string
- type CarInfo
- func (*CarInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CarInfo) GetCarClass() string
- func (x *CarInfo) GetCarNum() string
- func (x *CarInfo) GetDrivers() []*Driver
- func (x *CarInfo) GetName() string
- func (*CarInfo) ProtoMessage()
- func (x *CarInfo) ProtoReflect() protoreflect.Message
- func (x *CarInfo) Reset()
- func (x *CarInfo) String() string
- type CarLaps
- type CarPit
- func (*CarPit) Descriptor() ([]byte, []int)deprecated
- func (x *CarPit) GetCarNum() string
- func (x *CarPit) GetCurrent() *PitInfo
- func (x *CarPit) GetHistory() []*PitInfo
- func (*CarPit) ProtoMessage()
- func (x *CarPit) ProtoReflect() protoreflect.Message
- func (x *CarPit) Reset()
- func (x *CarPit) String() string
- type CarStint
- func (*CarStint) Descriptor() ([]byte, []int)deprecated
- func (x *CarStint) GetCarNum() string
- func (x *CarStint) GetCurrent() *StintInfo
- func (x *CarStint) GetHistory() []*StintInfo
- func (*CarStint) ProtoMessage()
- func (x *CarStint) ProtoReflect() protoreflect.Message
- func (x *CarStint) Reset()
- func (x *CarStint) String() string
- type Driver
- type GapInfo
- func (*GapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GapInfo) GetCarNum() string
- func (x *GapInfo) GetGap() float32
- func (x *GapInfo) GetLapNo() int32
- func (x *GapInfo) GetPic() int32
- func (x *GapInfo) GetPos() int32
- func (*GapInfo) ProtoMessage()
- func (x *GapInfo) ProtoReflect() protoreflect.Message
- func (x *GapInfo) Reset()
- func (x *GapInfo) String() string
- type Lap
- type PitInfo
- func (*PitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PitInfo) GetCarNum() string
- func (x *PitInfo) GetEnterTime() float32
- func (x *PitInfo) GetIsCurrentPitstop() bool
- func (x *PitInfo) GetLaneTime() float32
- func (x *PitInfo) GetLapEnter() int32
- func (x *PitInfo) GetLapExit() int32
- func (x *PitInfo) GetLeaveTime() float32
- func (*PitInfo) ProtoMessage()
- func (x *PitInfo) ProtoReflect() protoreflect.Message
- func (x *PitInfo) Reset()
- func (x *PitInfo) String() string
- type RaceGraph
- func (*RaceGraph) Descriptor() ([]byte, []int)deprecated
- func (x *RaceGraph) GetCarClass() string
- func (x *RaceGraph) GetGaps() []*GapInfo
- func (x *RaceGraph) GetLapNo() int32
- func (*RaceGraph) ProtoMessage()
- func (x *RaceGraph) ProtoReflect() protoreflect.Message
- func (x *RaceGraph) Reset()
- func (x *RaceGraph) String() string
- type SeatTime
- type StintInfo
- func (*StintInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StintInfo) GetCarNum() string
- func (x *StintInfo) GetEnterTime() float32
- func (x *StintInfo) GetIsCurrentStint() bool
- func (x *StintInfo) GetLapEnter() int32
- func (x *StintInfo) GetLapExit() int32
- func (x *StintInfo) GetLeaveTime() float32
- func (x *StintInfo) GetNumLaps() int32
- func (x *StintInfo) GetStintTime() float32
- func (*StintInfo) ProtoMessage()
- func (x *StintInfo) ProtoReflect() protoreflect.Message
- func (x *StintInfo) Reset()
- func (x *StintInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testrepo_analysis_v1_analysis_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_carinfo_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_carlaps_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_carpit_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_carstint_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_racegraph_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct { CarInfo []*CarInfo `protobuf:"bytes,1,rep,name=car_info,json=carInfo,proto3" json:"car_info,omitempty"` CarLaps []*CarLaps `protobuf:"bytes,2,rep,name=car_laps,json=carLaps,proto3" json:"car_laps,omitempty"` CarPits []*CarPit `protobuf:"bytes,3,rep,name=car_pits,json=carPits,proto3" json:"car_pits,omitempty"` CarStints []*CarStint `protobuf:"bytes,4,rep,name=car_stints,json=carStints,proto3" json:"car_stints,omitempty"` RaceGraph []*RaceGraph `protobuf:"bytes,5,rep,name=race_graph,json=raceGraph,proto3" json:"race_graph,omitempty"` // contains filtered or unexported fields }
func (*Analysis) ProtoReflect ¶
func (x *Analysis) ProtoReflect() protoreflect.Message
type CarInfo ¶
type CarInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CarNum string `protobuf:"bytes,2,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` CarClass string `protobuf:"bytes,3,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"` Drivers []*Driver `protobuf:"bytes,4,rep,name=drivers,proto3" json:"drivers,omitempty"` // contains filtered or unexported fields }
CarInfo
func (*CarInfo) ProtoReflect ¶
func (x *CarInfo) ProtoReflect() protoreflect.Message
type CarLaps ¶
type CarLaps struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Laps []*Lap `protobuf:"bytes,2,rep,name=laps,proto3" json:"laps,omitempty"` // contains filtered or unexported fields }
CarLaps
func (*CarLaps) ProtoReflect ¶
func (x *CarLaps) ProtoReflect() protoreflect.Message
type CarPit ¶
type CarPit struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Current *PitInfo `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` History []*PitInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
CarPit
func (*CarPit) ProtoReflect ¶
func (x *CarPit) ProtoReflect() protoreflect.Message
type CarStint ¶
type CarStint struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Current *StintInfo `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` History []*StintInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
CarStint
func (*CarStint) ProtoReflect ¶
func (x *CarStint) ProtoReflect() protoreflect.Message
type Driver ¶
type Driver struct { DriverName string `protobuf:"bytes,1,opt,name=driver_name,json=driverName,proto3" json:"driver_name,omitempty"` SeatTime []*SeatTime `protobuf:"bytes,2,rep,name=seat_time,json=seatTime,proto3" json:"seat_time,omitempty"` // contains filtered or unexported fields }
func (*Driver) ProtoReflect ¶
func (x *Driver) ProtoReflect() protoreflect.Message
type GapInfo ¶
type GapInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` LapNo int32 `protobuf:"varint,2,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` Pos int32 `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"` Pic int32 `protobuf:"varint,4,opt,name=pic,proto3" json:"pic,omitempty"` Gap float32 `protobuf:"fixed32,5,opt,name=gap,proto3" json:"gap,omitempty"` // contains filtered or unexported fields }
func (*GapInfo) ProtoReflect ¶
func (x *GapInfo) ProtoReflect() protoreflect.Message
type Lap ¶
type Lap struct { LapNo int32 `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` LapTime float32 `protobuf:"fixed32,2,opt,name=lap_time,json=lapTime,proto3" json:"lap_time,omitempty"` // contains filtered or unexported fields }
Lap
func (*Lap) ProtoReflect ¶
func (x *Lap) ProtoReflect() protoreflect.Message
type PitInfo ¶
type PitInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` EnterTime float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"` LeaveTime float32 `protobuf:"fixed32,3,opt,name=leave_time,json=leaveTime,proto3" json:"leave_time,omitempty"` LapEnter int32 `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"` LapExit int32 `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"` LaneTime float32 `protobuf:"fixed32,6,opt,name=lane_time,json=laneTime,proto3" json:"lane_time,omitempty"` IsCurrentPitstop bool `protobuf:"varint,7,opt,name=is_current_pitstop,json=isCurrentPitstop,proto3" json:"is_current_pitstop,omitempty"` // contains filtered or unexported fields }
func (*PitInfo) ProtoReflect ¶
func (x *PitInfo) ProtoReflect() protoreflect.Message
type RaceGraph ¶
type RaceGraph struct { LapNo int32 `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` CarClass string `protobuf:"bytes,2,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"` Gaps []*GapInfo `protobuf:"bytes,3,rep,name=gaps,proto3" json:"gaps,omitempty"` // contains filtered or unexported fields }
func (*RaceGraph) ProtoReflect ¶
func (x *RaceGraph) ProtoReflect() protoreflect.Message
type SeatTime ¶
type SeatTime struct { EnterCarTime float32 `protobuf:"fixed32,1,opt,name=enter_car_time,json=enterCarTime,proto3" json:"enter_car_time,omitempty"` LeaveCarTime float32 `protobuf:"fixed32,2,opt,name=leave_car_time,json=leaveCarTime,proto3" json:"leave_car_time,omitempty"` // contains filtered or unexported fields }
func (*SeatTime) ProtoReflect ¶
func (x *SeatTime) ProtoReflect() protoreflect.Message
type StintInfo ¶
type StintInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` EnterTime float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"` LeaveTime float32 `protobuf:"fixed32,3,opt,name=leave_time,json=leaveTime,proto3" json:"leave_time,omitempty"` LapEnter int32 `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"` LapExit int32 `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"` StintTime float32 `protobuf:"fixed32,6,opt,name=stint_time,json=stintTime,proto3" json:"stint_time,omitempty"` NumLaps int32 `protobuf:"varint,7,opt,name=num_laps,json=numLaps,proto3" json:"num_laps,omitempty"` IsCurrentStint bool `protobuf:"varint,8,opt,name=is_current_stint,json=isCurrentStint,proto3" json:"is_current_stint,omitempty"` // contains filtered or unexported fields }
func (*StintInfo) ProtoReflect ¶
func (x *StintInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.