IRDdb

package module
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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 AddSession

func AddSession(session IRacingData.Session, raceID int)

func FindSession

func FindSession(sessionID int) (bool, error)

func GetSession

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

func Init

func Init(tname string)

Types

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