Versions in this module Expand all Collapse all v2 v2.2.5 Mar 2, 2023 v2.2.4 Mar 2, 2023 v2.2.3 Apr 29, 2022 v2.2.2 Mar 19, 2021 Changes in this version + type AnswerCase struct + Content string + FileName string + Language string + Name string + type JudgeConfiguration struct + AnswerCases []AnswerCase + ConfigDir string + FileSizeLimit int + Limitation map[string]JudgeResourceLimit + MemoryLimit int + Problem ProblemContent + RealTimeLimit int + SpecialJudge SpecialJudgeOptions + StrictMode bool + TestCases []TestCase + TestLib TestlibOptions + TimeLimit int + UID int + type JudgeDemoCase struct + Answers map[string]string + Demo string + Handle string + Line int + Name string + type JudgeResourceLimit struct + FileSizeLimit int + MemoryLimit int + RealTimeLimit int + TimeLimit int + type JudgeResult struct + CeInfo string + JudgeLogs []logger.JudgeLogItem + JudgeResult int + MemoryUsed int + ReInfo string + SeInfo string + SessionID string + TestCases []TestCaseResult + TimeUsed int + type ProblemContent struct + Author string + DemoCases map[string]JudgeDemoCase + Description string + Input string + Output string + ProblemType int + Sample []ProblemIOSample + Source string + Tips string + type ProblemIOSample struct + Input string + Output string + type ShellOptions struct + Args []string + Context context.Context + Name string + OnStart func(io.Writer) error + StdWriter *ShellWriters + type ShellResult struct + ErrorMessage string + ExitCode int + Signal int + Stderr string + Stdout string + Success bool + type ShellWriters struct + Error io.Writer + Input io.Reader + Output io.Writer + type SpecialJudgeCheckerCase struct + Answer string + CheckerComment string + CheckerVerdict int + ExpectedVerdict int + Input string + Output string + Verdict bool + type SpecialJudgeOptions struct + Checker string + CheckerCases []SpecialJudgeCheckerCase + CheckerLang string + MemoryLimit int + Mode int + Name string + RedirectProgramOut bool + TimeLimit int + UseTestlib bool + type TestCase struct + Enabled bool + Generator string + Handle string + Input string + Name string + Order int + Output string + UseGenerator bool + ValidatorComment string + ValidatorVerdict bool + Visible bool + type TestCaseResult struct + CeInfo string + CheckerError string + CheckerOut string + CheckerReport string + Handle string + Input string + JudgeResult int + MemoryUsed int + Output string + PartiallyScore int + ProgramError string + ProgramOut string + ReInfo string + ReSignum int + SPJExitCode int + SPJMemoryUsed int + SPJMsg string + SPJReSignum int + SPJTimeUsed int + SameLines int + SeInfo string + TextDiffLog string + TimeUsed int + TotalLines int + type TestlibCheckerResult struct + Description string + Outcome string + PcType string + XMLName xml.Name + type TestlibGenerator struct + Name string + Source string + type TestlibOptions struct + Generators []TestlibGenerator + Validator string + ValidatorCases []TestlibValidatorCase + ValidatorName string + Version string + type TestlibValidatorCase struct + ExpectedVerdict bool + Input string + ValidatorComment string + ValidatorVerdict bool + Verdict bool