package
Version:
v0.0.0-...-61f9789
Opens a new window with list of versions in this module.
Published: Dec 6, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func JudgeService(router fiber.Router)
type BodyIsolate struct {
BoxId int `json:"box_id" form:"box_id"`
}
Server Recieve Struct
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 struct {
Status int `json:"status"`
Note string `json:"note"`
}
type ResultJudge struct {
Status bool `json:"is_accept"`
Score int `json:"score"`
Fullscore int `json:"full_score"`
Note string `json:"note"`
}
Client Recieve Struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.