contest

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodiumReport

func PodiumReport(svc *svc.Context) gin.HandlerFunc

func Record

func Record(svc *svc.Context) gin.HandlerFunc

func ScoreReport

func ScoreReport(svc *svc.Context) gin.HandlerFunc

func SorReport

func SorReport(svc *svc.Context) gin.HandlerFunc

Types

type CommonRequest

type CommonRequest struct {
	ContestID uint `uri:"contest_id"`
}

type ScoreReportResponse

type ScoreReportResponse struct {
	Scores map[model.Project][]core.RoutesScores `json:"Scores"`
}

type SorReportResponse

type SorReportResponse struct {
	Single map[model.SorStatisticsKey][]core.SorScore `json:"Single"`
	Avg    map[model.SorStatisticsKey][]core.SorScore `json:"Avg"`
}

Jump to

Keyboard shortcuts

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