collector

package
v0.0.0-...-bb30c13 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func New

func New(db database.Database) *Collector

func (*Collector) CollectCars

func (c *Collector) CollectCars()

func (*Collector) CollectRaceStats

func (c *Collector) CollectRaceStats(rws database.RaceWeekResult, forceUpdate bool)

func (*Collector) CollectRaceWeek

func (c *Collector) CollectRaceWeek(seasonID, week int, forceUpdate bool)

func (*Collector) CollectSeason

func (c *Collector) CollectSeason(seasonID int)

func (*Collector) CollectTTResults

func (c *Collector) CollectTTResults(raceweek database.RaceWeek)

func (*Collector) CollectTimeRankings

func (c *Collector) CollectTimeRankings(raceweek database.RaceWeek)

func (*Collector) CollectTimeslots

func (c *Collector) CollectTimeslots(seasonID int, results []api.RaceWeekResult)

func (*Collector) CollectTracks

func (c *Collector) CollectTracks()

func (*Collector) Database

func (c *Collector) Database() database.Database

func (*Collector) Run

func (c *Collector) Run()

func (*Collector) UpsertDriverAndClub

func (c *Collector) UpsertDriverAndClub(driverName, clubName string, driverID, clubID int) (database.Driver, bool)

Jump to

Keyboard shortcuts

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