speedmap

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(conn repository.Querier, sm *model.DbSpeedmap) error

func DeleteByEventId

func DeleteByEventId(conn repository.Querier, eventID int) (int, error)

deletes all entries for an event with eventID

func LoadAvgLapOverTime

func LoadAvgLapOverTime(conn repository.Querier, eventId, intervalSecs int) (
	[]*model.AvgLapOverTime, error,
)

func LoadByEventId

func LoadByEventId(conn repository.Querier, eventID int) ([]*model.DbSpeedmap, error)

func LoadLatestByEventId

func LoadLatestByEventId(conn repository.Querier, eventID int) (*model.DbSpeedmap, error)

func LoadLatestByEventKey

func LoadLatestByEventKey(conn repository.Querier, eventKey string) (*model.DbSpeedmap, error)

func LoadRange

func LoadRange(conn repository.Querier, eventID int, tsBegin float64, num int) (
	ret []*model.SpeedmapData, err error,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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