api

package
v0.0.0-...-c43fb37 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RaceApi

type RaceApi struct {
	RaceApiFace
}

func NewRaceApi

func NewRaceApi(raceApi RaceApiFace) RaceApi

func (RaceApi) DriverStandings

func (ra RaceApi) DriverStandings(rs shared.RaceSchedule) (ds shared.DriverStandings, err error)

func (RaceApi) RaceSchedule

func (ra RaceApi) RaceSchedule(year int) (rs shared.RaceSchedule, err error)

type RaceApiFace

type RaceApiFace interface {
	RaceScheduleRaw(year int) (shared.RaceSchedule, error)
	DriverStandingsRaw(rs shared.RaceSchedule) (ds shared.DriverStandings, err error)
}

Jump to

Keyboard shortcuts

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