proto

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(
	ctx context.Context,
	conn repository.Querier,
	rsInfoId int,
	driverstate *racestatev1.PublishDriverDataRequest,
) error

func DeleteByEventId

func DeleteByEventId(ctx context.Context, conn repository.Querier, eventId int) (int, error)

func LoadLatest

func LoadLatest(
	ctx context.Context,
	conn repository.Querier,
	eventId int,
) (*racestatev1.PublishDriverDataRequest, error)

func LoadRange

func LoadRange(
	ctx context.Context,
	conn repository.Querier,
	eventId int,
	startTS time.Time,
	limit int,
) (*util.RangeContainer[racestatev1.PublishDriverDataRequest], error)

func LoadRangeById added in v0.28.0

func LoadRangeById(
	ctx context.Context,
	conn repository.Querier,
	eventId int,
	rsInfoId int,
	limit int,
) (*util.RangeContainer[racestatev1.PublishDriverDataRequest], error)

func LoadRangeBySessionTime added in v0.22.0

func LoadRangeBySessionTime(
	ctx context.Context,
	conn repository.Querier,
	eventId int,
	sessionTime float64,
	limit int,
) (*util.RangeContainer[racestatev1.PublishDriverDataRequest], error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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