app

package
v0.0.0-...-1e302dd Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const SESSION_PROP = "compile"

Variables

This section is empty.

Functions

func CheckCompileHandler

func CheckCompileHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func CheckDeleteHandler

func CheckDeleteHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func CheckHandler

func CheckHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func CheckResultHandler

func CheckResultHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func CheckTestPostHandler

func CheckTestPostHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func DeleteUpload

func DeleteUpload(w http.ResponseWriter, r *http.Request, params httprouter.Params)

func DoUpload

func DoUpload(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func Index

func Upload

Types

type CheckResult

type CheckResult struct {
	Total         int
	Correct       int
	ExecutionTime int64
	Results       []runner.Result
}

type DataCheck

type DataCheck struct {
	Suites     []runner.TestSuite
	Error      error
	PrevAnswer string
}

type DataCheckResult

type DataCheckResult struct {
	TestSuite runner.TestSuite
	RunDir    string
}

Jump to

Keyboard shortcuts

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