Documentation ¶
Index ¶
- func Create(ctx context.Context, conn repository.Querier, sm *model.DbSpeedmap) error
- func DeleteByEventId(ctx context.Context, conn repository.Querier, eventID int) (int, error)
- func LoadAvgLapOverTime(ctx context.Context, conn repository.Querier, eventId, intervalSecs int) ([]*model.AvgLapOverTime, error)
- func LoadByEventId(ctx context.Context, conn repository.Querier, eventID int) ([]*model.DbSpeedmap, error)
- func LoadLatestByEventId(ctx context.Context, conn repository.Querier, eventID int) (*model.DbSpeedmap, error)
- func LoadLatestByEventKey(ctx context.Context, conn repository.Querier, eventKey string) (*model.DbSpeedmap, error)
- func LoadRange(ctx context.Context, conn repository.Querier, eventID int, tsBegin float64, ...) (ret []*model.SpeedmapData, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, conn repository.Querier, sm *model.DbSpeedmap) error
func DeleteByEventId ¶
deletes all entries for an event with eventID
func LoadAvgLapOverTime ¶
func LoadAvgLapOverTime( ctx context.Context, conn repository.Querier, eventId, intervalSecs int) ( []*model.AvgLapOverTime, error, )
func LoadByEventId ¶
func LoadByEventId( ctx context.Context, conn repository.Querier, eventID int, ) ([]*model.DbSpeedmap, error)
func LoadLatestByEventId ¶
func LoadLatestByEventId( ctx context.Context, conn repository.Querier, eventID int, ) (*model.DbSpeedmap, error)
func LoadLatestByEventKey ¶
func LoadLatestByEventKey( ctx context.Context, conn repository.Querier, eventKey string, ) (*model.DbSpeedmap, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.