controllers

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_UPLOAD_SIZE = 1 << 18 // 256KB upload size limit

Variables

This section is empty.

Functions

func AddSetup

func AddSetup(setupSvc services.SetupService) gin.HandlerFunc

func AdjustStrategyWithProgress

func AdjustStrategyWithProgress(stratSvc services.StrategyService) gin.HandlerFunc

func CalculateStrategy

func CalculateStrategy(stratSvc services.StrategyService) gin.HandlerFunc

func EditStint

func EditStint(stratSvc services.StrategyService) gin.HandlerFunc

func GetCar

func GetCar(carSvc services.CarService) gin.HandlerFunc

func GetSetup

func GetSetup(setupSvc services.SetupService) gin.HandlerFunc

func GetSetupFile

func GetSetupFile(setupSvc services.SetupService) gin.HandlerFunc

func GetStrategy

func GetStrategy(stratSvc services.StrategyService) gin.HandlerFunc

func GetTrack

func GetTrack(trackSvc services.TrackService) gin.HandlerFunc

func GetTrackLayout

func GetTrackLayout(trackSvc services.TrackLayoutService) gin.HandlerFunc

func GetUserSetups

func GetUserSetups(setupSvc services.SetupService) gin.HandlerFunc

func GetUserStrategies

func GetUserStrategies(stratSvc services.StrategyService) gin.HandlerFunc

func ListCars

func ListCars(carSvc services.CarService) gin.HandlerFunc

func ListSetups

func ListSetups(setupSvc services.SetupService) gin.HandlerFunc

func ListTrackLayouts

func ListTrackLayouts(trackSvc services.TrackLayoutService) gin.HandlerFunc

func ListTracks

func ListTracks(trackSvc services.TrackService) gin.HandlerFunc

func RecordVote

func RecordVote(setupSvc services.SetupService) gin.HandlerFunc

func SaveStrategy

func SaveStrategy(stratSvc services.StrategyService) gin.HandlerFunc

func UpdateSetup

func UpdateSetup(setupSvc services.SetupService) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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