Documentation ¶
Index ¶
- func Create(conn repository.Querier, sm *model.DbSpeedmap) error
- func DeleteByEventId(conn repository.Querier, eventID int) (int, error)
- func LoadAvgLapOverTime(conn repository.Querier, eventId, intervalSecs int) ([]*model.AvgLapOverTime, error)
- func LoadByEventId(conn repository.Querier, eventID int) ([]*model.DbSpeedmap, error)
- func LoadLatestByEventId(conn repository.Querier, eventID int) (*model.DbSpeedmap, error)
- func LoadLatestByEventKey(conn repository.Querier, eventKey string) (*model.DbSpeedmap, error)
- func LoadRange(conn repository.Querier, eventID int, tsBegin float64, num int) (ret []*model.SpeedmapData, err error)
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.
Click to show internal directories.
Click to hide internal directories.