package
0.7.5
Repository: https://github.com/natsukagami/kjudge.git
Documentation: pkg.go.dev

# Packages

Package isolate provides a safe sandbox on Linux using the "isolate" program.
Raw implements a "raw" sandbox.

# Functions

Compile performs compilation.
CompileBatch returns a compile action, along with the required batch filename in order to successfully compile.
CompileSingle creates a compilation command for a single source code file.
CustomCompile tries to compile a file from the given source file.
MissingTests finds all the tests that are missing a TestResult.
Run runs a RunContext.
RunnCommand returns the run command (command, args list) for the language.
No description provided by the author
No description provided by the author
Score does scoring on a submission and updates the user's ProblemResult.
Update the submission's verdict.

# Constants

The filename of the "compare" binary.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CompileAction is an action revolving writing the source into a file in "Source", compile it with "Command" and taking the "Output" as the result.
CompileContext is the information needed to perform compilation.
Queue implements a queue that runs each job one by one.
RunContext is the context needed to run a test.
SandboxInput is the input to a sandbox.
SandboxOutput is the output which the sandbox needs to give back.
ScoreContext is a context for calculating a submission's score and update the user's problem scores.

# Interfaces

Sandbox provides a way to run an arbitary command within a sandbox, with configured input/outputs and proper time and memory limits.