router

package
v0.0.0-...-61f9789 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgeService

func JudgeService(router fiber.Router)

Types

type BodyIsolate

type BodyIsolate struct {
	BoxId int `json:"box_id" form:"box_id"`
}

Server Recieve Struct

type BodyJudgeRunner

type BodyJudgeRunner struct {
	BoxId       int    `json:"box_id" form:"box_id"`
	QuestID     int    `json:"question_id" form:"question_id"`
	CodeContent string `json:"code" form:"code"`
}

type ResultIsolate

type ResultIsolate struct {
	Status int    `json:"status"`
	Note   string `json:"note"`
}

type ResultJudge

type ResultJudge struct {
	Status    bool   `json:"is_accept"`
	Score     int    `json:"score"`
	Fullscore int    `json:"full_score"`
	Note      string `json:"note"`
}

Client Recieve Struct

Jump to

Keyboard shortcuts

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