handler

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLogin added in v0.6.3

func CheckLogin()

func CreateProject

func CreateProject(contestID string)

func HaldleExec added in v0.5.0

func HaldleExec(displayID string)

func OpenTask added in v0.2.0

func OpenTask(displayID string)

func SubmitCode

func SubmitCode(displayID string)

Types

type TestOption added in v0.4.0

type TestOption struct {
	DisplayID     string
	EnableCaseIDs []int
}

type TestResults added in v0.3.0

type TestResults struct {
	Results   []result
	MaxTimeMs int64
	Pass      bool
}

func TestCode

func TestCode(option TestOption) TestResults

Jump to

Keyboard shortcuts

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