IRDdb

package module
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

README

Functions to interact with IRacingData and DynamoDB

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLeagueStandings added in v1.1.10

func AddLeagueStandings(session IRacingData.League_Season_Standings)

func AddSession

func AddSession(session IRacingData.Session, raceID int)

func FindSession

func FindSession(sessionID int) (bool, error)

func GetLeagueStandings added in v1.1.10

func GetLeagueStandings(leagueID string, seasonID string) (IRacingData.League_Season_Standings, error)

func GetSession

func GetSession(sessionID string) (IRacingData.Session, error)

func Init

func Init(tname string)

Types

type DBLeague_Season_Standings added in v1.1.10

type DBLeague_Season_Standings struct {
	PK   string
	Data IRacingData.League_Season_Standings
	SK   string
}

type DBSession

type DBSession struct {
	RaceID int
	PK     string
	Data   IRacingData.Session
	SK     string
}

Jump to

Keyboard shortcuts

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