Documentation
¶
Index ¶
- Variables
- type EnsureTrackRequest
- func (x *EnsureTrackRequest) ClearTrack()
- func (x *EnsureTrackRequest) GetTrack() *Track
- func (x *EnsureTrackRequest) HasTrack() bool
- func (*EnsureTrackRequest) ProtoMessage()
- func (x *EnsureTrackRequest) ProtoReflect() protoreflect.Message
- func (x *EnsureTrackRequest) Reset()
- func (x *EnsureTrackRequest) SetTrack(v *Track)
- func (x *EnsureTrackRequest) String() string
- type EnsureTrackRequest_builder
- type EnsureTrackResponse
- func (x *EnsureTrackResponse) ClearTrack()
- func (x *EnsureTrackResponse) GetTrack() *Track
- func (x *EnsureTrackResponse) HasTrack() bool
- func (*EnsureTrackResponse) ProtoMessage()
- func (x *EnsureTrackResponse) ProtoReflect() protoreflect.Message
- func (x *EnsureTrackResponse) Reset()
- func (x *EnsureTrackResponse) SetTrack(v *Track)
- func (x *EnsureTrackResponse) String() string
- type EnsureTrackResponse_builder
- type GetTrackRequest
- type GetTrackRequest_builder
- type GetTrackResponse
- func (x *GetTrackResponse) ClearTrack()
- func (x *GetTrackResponse) GetTrack() *Track
- func (x *GetTrackResponse) HasTrack() bool
- func (*GetTrackResponse) ProtoMessage()
- func (x *GetTrackResponse) ProtoReflect() protoreflect.Message
- func (x *GetTrackResponse) Reset()
- func (x *GetTrackResponse) SetTrack(v *Track)
- func (x *GetTrackResponse) String() string
- type GetTrackResponse_builder
- type GetTracksRequest
- type GetTracksRequest_builder
- type GetTracksResponse
- func (x *GetTracksResponse) ClearTrack()
- func (x *GetTracksResponse) GetTrack() *Track
- func (x *GetTracksResponse) HasTrack() bool
- func (*GetTracksResponse) ProtoMessage()
- func (x *GetTracksResponse) ProtoReflect() protoreflect.Message
- func (x *GetTracksResponse) Reset()
- func (x *GetTracksResponse) SetTrack(v *Track)
- func (x *GetTracksResponse) String() string
- type GetTracksResponse_builder
- type PitInfo
- func (x *PitInfo) GetEntry() float32
- func (x *PitInfo) GetExit() float32
- func (x *PitInfo) GetLaneLength() float32
- func (*PitInfo) ProtoMessage()
- func (x *PitInfo) ProtoReflect() protoreflect.Message
- func (x *PitInfo) Reset()
- func (x *PitInfo) SetEntry(v float32)
- func (x *PitInfo) SetExit(v float32)
- func (x *PitInfo) SetLaneLength(v float32)
- func (x *PitInfo) String() string
- type PitInfo_builder
- type Sector
- type Sector_builder
- type Track
- func (x *Track) ClearPitInfo()
- func (x *Track) GetConfig() string
- func (x *Track) GetId() uint32
- func (x *Track) GetLength() float32
- func (x *Track) GetName() string
- func (x *Track) GetPitInfo() *PitInfo
- func (x *Track) GetPitSpeed() float32
- func (x *Track) GetSectors() []*Sector
- func (x *Track) GetShortName() string
- func (x *Track) HasPitInfo() bool
- func (*Track) ProtoMessage()
- func (x *Track) ProtoReflect() protoreflect.Message
- func (x *Track) Reset()
- func (x *Track) SetConfig(v string)
- func (x *Track) SetId(v uint32)
- func (x *Track) SetLength(v float32)
- func (x *Track) SetName(v string)
- func (x *Track) SetPitInfo(v *PitInfo)
- func (x *Track) SetPitSpeed(v float32)
- func (x *Track) SetSectors(v []*Sector)
- func (x *Track) SetShortName(v string)
- func (x *Track) String() string
- type Track_builder
- type UpdatePitInfoRequest
- func (x *UpdatePitInfoRequest) ClearPitInfo()
- func (x *UpdatePitInfoRequest) GetId() uint32
- func (x *UpdatePitInfoRequest) GetPitInfo() *PitInfo
- func (x *UpdatePitInfoRequest) HasPitInfo() bool
- func (*UpdatePitInfoRequest) ProtoMessage()
- func (x *UpdatePitInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePitInfoRequest) Reset()
- func (x *UpdatePitInfoRequest) SetId(v uint32)
- func (x *UpdatePitInfoRequest) SetPitInfo(v *PitInfo)
- func (x *UpdatePitInfoRequest) String() string
- type UpdatePitInfoRequest_builder
- type UpdatePitInfoResponse
- func (x *UpdatePitInfoResponse) ClearTrack()
- func (x *UpdatePitInfoResponse) GetTrack() *Track
- func (x *UpdatePitInfoResponse) HasTrack() bool
- func (*UpdatePitInfoResponse) ProtoMessage()
- func (x *UpdatePitInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePitInfoResponse) Reset()
- func (x *UpdatePitInfoResponse) SetTrack(v *Track)
- func (x *UpdatePitInfoResponse) String() string
- type UpdatePitInfoResponse_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_iracelog_track_v1_track_proto protoreflect.FileDescriptor
View Source
var File_iracelog_track_v1_track_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EnsureTrackRequest ¶
type EnsureTrackRequest struct {
Track *Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureTrackRequest) ClearTrack ¶
func (x *EnsureTrackRequest) ClearTrack()
func (*EnsureTrackRequest) GetTrack ¶
func (x *EnsureTrackRequest) GetTrack() *Track
func (*EnsureTrackRequest) HasTrack ¶
func (x *EnsureTrackRequest) HasTrack() bool
func (*EnsureTrackRequest) ProtoMessage ¶
func (*EnsureTrackRequest) ProtoMessage()
func (*EnsureTrackRequest) ProtoReflect ¶
func (x *EnsureTrackRequest) ProtoReflect() protoreflect.Message
func (*EnsureTrackRequest) Reset ¶
func (x *EnsureTrackRequest) Reset()
func (*EnsureTrackRequest) SetTrack ¶
func (x *EnsureTrackRequest) SetTrack(v *Track)
func (*EnsureTrackRequest) String ¶
func (x *EnsureTrackRequest) String() string
type EnsureTrackRequest_builder ¶
type EnsureTrackRequest_builder struct {
Track *Track
// contains filtered or unexported fields
}
func (EnsureTrackRequest_builder) Build ¶
func (b0 EnsureTrackRequest_builder) Build() *EnsureTrackRequest
type EnsureTrackResponse ¶
type EnsureTrackResponse struct {
Track *Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureTrackResponse) ClearTrack ¶
func (x *EnsureTrackResponse) ClearTrack()
func (*EnsureTrackResponse) GetTrack ¶
func (x *EnsureTrackResponse) GetTrack() *Track
func (*EnsureTrackResponse) HasTrack ¶
func (x *EnsureTrackResponse) HasTrack() bool
func (*EnsureTrackResponse) ProtoMessage ¶
func (*EnsureTrackResponse) ProtoMessage()
func (*EnsureTrackResponse) ProtoReflect ¶
func (x *EnsureTrackResponse) ProtoReflect() protoreflect.Message
func (*EnsureTrackResponse) Reset ¶
func (x *EnsureTrackResponse) Reset()
func (*EnsureTrackResponse) SetTrack ¶
func (x *EnsureTrackResponse) SetTrack(v *Track)
func (*EnsureTrackResponse) String ¶
func (x *EnsureTrackResponse) String() string
type EnsureTrackResponse_builder ¶
type EnsureTrackResponse_builder struct {
Track *Track
// contains filtered or unexported fields
}
func (EnsureTrackResponse_builder) Build ¶
func (b0 EnsureTrackResponse_builder) Build() *EnsureTrackResponse
type GetTrackRequest ¶
type GetTrackRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetTrackRequest) GetId ¶
func (x *GetTrackRequest) GetId() uint32
func (*GetTrackRequest) ProtoMessage ¶
func (*GetTrackRequest) ProtoMessage()
func (*GetTrackRequest) ProtoReflect ¶
func (x *GetTrackRequest) ProtoReflect() protoreflect.Message
func (*GetTrackRequest) Reset ¶
func (x *GetTrackRequest) Reset()
func (*GetTrackRequest) SetId ¶
func (x *GetTrackRequest) SetId(v uint32)
func (*GetTrackRequest) String ¶
func (x *GetTrackRequest) String() string
type GetTrackRequest_builder ¶
type GetTrackRequest_builder struct {
Id uint32
// contains filtered or unexported fields
}
func (GetTrackRequest_builder) Build ¶
func (b0 GetTrackRequest_builder) Build() *GetTrackRequest
type GetTrackResponse ¶
type GetTrackResponse struct {
Track *Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
// contains filtered or unexported fields
}
func (*GetTrackResponse) ClearTrack ¶
func (x *GetTrackResponse) ClearTrack()
func (*GetTrackResponse) GetTrack ¶
func (x *GetTrackResponse) GetTrack() *Track
func (*GetTrackResponse) HasTrack ¶
func (x *GetTrackResponse) HasTrack() bool
func (*GetTrackResponse) ProtoMessage ¶
func (*GetTrackResponse) ProtoMessage()
func (*GetTrackResponse) ProtoReflect ¶
func (x *GetTrackResponse) ProtoReflect() protoreflect.Message
func (*GetTrackResponse) Reset ¶
func (x *GetTrackResponse) Reset()
func (*GetTrackResponse) SetTrack ¶
func (x *GetTrackResponse) SetTrack(v *Track)
func (*GetTrackResponse) String ¶
func (x *GetTrackResponse) String() string
type GetTrackResponse_builder ¶
type GetTrackResponse_builder struct {
Track *Track
// contains filtered or unexported fields
}
func (GetTrackResponse_builder) Build ¶
func (b0 GetTrackResponse_builder) Build() *GetTrackResponse
type GetTracksRequest ¶
type GetTracksRequest struct {
// contains filtered or unexported fields
}
func (*GetTracksRequest) ProtoMessage ¶
func (*GetTracksRequest) ProtoMessage()
func (*GetTracksRequest) ProtoReflect ¶
func (x *GetTracksRequest) ProtoReflect() protoreflect.Message
func (*GetTracksRequest) Reset ¶
func (x *GetTracksRequest) Reset()
func (*GetTracksRequest) String ¶
func (x *GetTracksRequest) String() string
type GetTracksRequest_builder ¶
type GetTracksRequest_builder struct {
// contains filtered or unexported fields
}
func (GetTracksRequest_builder) Build ¶
func (b0 GetTracksRequest_builder) Build() *GetTracksRequest
type GetTracksResponse ¶
type GetTracksResponse struct {
Track *Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
// contains filtered or unexported fields
}
func (*GetTracksResponse) ClearTrack ¶
func (x *GetTracksResponse) ClearTrack()
func (*GetTracksResponse) GetTrack ¶
func (x *GetTracksResponse) GetTrack() *Track
func (*GetTracksResponse) HasTrack ¶
func (x *GetTracksResponse) HasTrack() bool
func (*GetTracksResponse) ProtoMessage ¶
func (*GetTracksResponse) ProtoMessage()
func (*GetTracksResponse) ProtoReflect ¶
func (x *GetTracksResponse) ProtoReflect() protoreflect.Message
func (*GetTracksResponse) Reset ¶
func (x *GetTracksResponse) Reset()
func (*GetTracksResponse) SetTrack ¶
func (x *GetTracksResponse) SetTrack(v *Track)
func (*GetTracksResponse) String ¶
func (x *GetTracksResponse) String() string
type GetTracksResponse_builder ¶
type GetTracksResponse_builder struct {
Track *Track
// contains filtered or unexported fields
}
func (GetTracksResponse_builder) Build ¶
func (b0 GetTracksResponse_builder) Build() *GetTracksResponse
type PitInfo ¶
type PitInfo struct {
Entry float32 `protobuf:"fixed32,1,opt,name=entry,proto3" json:"entry,omitempty"`
Exit float32 `protobuf:"fixed32,2,opt,name=exit,proto3" json:"exit,omitempty"`
LaneLength float32 `protobuf:"fixed32,3,opt,name=lane_length,json=laneLength,proto3" json:"lane_length,omitempty"`
// contains filtered or unexported fields
}
func (*PitInfo) ProtoReflect ¶
func (x *PitInfo) ProtoReflect() protoreflect.Message
type PitInfo_builder ¶
type PitInfo_builder struct {
Entry float32
Exit float32
LaneLength float32
// contains filtered or unexported fields
}
func (PitInfo_builder) Build ¶
func (b0 PitInfo_builder) Build() *PitInfo
type Sector ¶
type Sector struct {
Num uint32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
StartPct float32 `protobuf:"fixed32,2,opt,name=start_pct,json=startPct,proto3" json:"start_pct,omitempty"`
// contains filtered or unexported fields
}
func (*Sector) ProtoReflect ¶
func (x *Sector) ProtoReflect() protoreflect.Message
type Sector_builder ¶
type Sector_builder struct {
Num uint32
StartPct float32
// contains filtered or unexported fields
}
func (Sector_builder) Build ¶
func (b0 Sector_builder) Build() *Sector
type Track ¶
type Track struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
Length float32 `protobuf:"fixed32,5,opt,name=length,proto3" json:"length,omitempty"`
Sectors []*Sector `protobuf:"bytes,6,rep,name=sectors,proto3" json:"sectors,omitempty"`
PitInfo *PitInfo `protobuf:"bytes,7,opt,name=pit_info,json=pitInfo,proto3" json:"pit_info,omitempty"`
PitSpeed float32 `protobuf:"fixed32,8,opt,name=pit_speed,json=pitSpeed,proto3" json:"pit_speed,omitempty"`
// contains filtered or unexported fields
}
func (*Track) ProtoReflect ¶
func (x *Track) ProtoReflect() protoreflect.Message
type Track_builder ¶
type Track_builder struct {
Id uint32
Name string
ShortName string
Config string
Length float32
Sectors []*Sector
PitInfo *PitInfo
PitSpeed float32
// contains filtered or unexported fields
}
func (Track_builder) Build ¶
func (b0 Track_builder) Build() *Track
type UpdatePitInfoRequest ¶
type UpdatePitInfoRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
PitInfo *PitInfo `protobuf:"bytes,2,opt,name=pit_info,json=pitInfo,proto3" json:"pit_info,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePitInfoRequest) ClearPitInfo ¶
func (x *UpdatePitInfoRequest) ClearPitInfo()
func (*UpdatePitInfoRequest) GetId ¶
func (x *UpdatePitInfoRequest) GetId() uint32
func (*UpdatePitInfoRequest) GetPitInfo ¶
func (x *UpdatePitInfoRequest) GetPitInfo() *PitInfo
func (*UpdatePitInfoRequest) HasPitInfo ¶
func (x *UpdatePitInfoRequest) HasPitInfo() bool
func (*UpdatePitInfoRequest) ProtoMessage ¶
func (*UpdatePitInfoRequest) ProtoMessage()
func (*UpdatePitInfoRequest) ProtoReflect ¶
func (x *UpdatePitInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdatePitInfoRequest) Reset ¶
func (x *UpdatePitInfoRequest) Reset()
func (*UpdatePitInfoRequest) SetId ¶
func (x *UpdatePitInfoRequest) SetId(v uint32)
func (*UpdatePitInfoRequest) SetPitInfo ¶
func (x *UpdatePitInfoRequest) SetPitInfo(v *PitInfo)
func (*UpdatePitInfoRequest) String ¶
func (x *UpdatePitInfoRequest) String() string
type UpdatePitInfoRequest_builder ¶
type UpdatePitInfoRequest_builder struct {
Id uint32
PitInfo *PitInfo
// contains filtered or unexported fields
}
func (UpdatePitInfoRequest_builder) Build ¶
func (b0 UpdatePitInfoRequest_builder) Build() *UpdatePitInfoRequest
type UpdatePitInfoResponse ¶
type UpdatePitInfoResponse struct {
Track *Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePitInfoResponse) ClearTrack ¶
func (x *UpdatePitInfoResponse) ClearTrack()
func (*UpdatePitInfoResponse) GetTrack ¶
func (x *UpdatePitInfoResponse) GetTrack() *Track
func (*UpdatePitInfoResponse) HasTrack ¶
func (x *UpdatePitInfoResponse) HasTrack() bool
func (*UpdatePitInfoResponse) ProtoMessage ¶
func (*UpdatePitInfoResponse) ProtoMessage()
func (*UpdatePitInfoResponse) ProtoReflect ¶
func (x *UpdatePitInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdatePitInfoResponse) Reset ¶
func (x *UpdatePitInfoResponse) Reset()
func (*UpdatePitInfoResponse) SetTrack ¶
func (x *UpdatePitInfoResponse) SetTrack(v *Track)
func (*UpdatePitInfoResponse) String ¶
func (x *UpdatePitInfoResponse) String() string
type UpdatePitInfoResponse_builder ¶
type UpdatePitInfoResponse_builder struct {
Track *Track
// contains filtered or unexported fields
}
func (UpdatePitInfoResponse_builder) Build ¶
func (b0 UpdatePitInfoResponse_builder) Build() *UpdatePitInfoResponse
Source Files
¶
- track.pb.go
- track_service.pb.go
Click to show internal directories.
Click to hide internal directories.