Documentation ¶
Overview ¶
Package kjudge (and the entire module) provides a little contest management system that can.
Index ¶
Constants ¶
View Source
const ( Version = "0.4.1" Codename = "Misaki Shokuhou" )
The version and codename of the system. We typically pick an anime JK name as the codename for every minor version.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
migrate
Command migrate performs migration on a given database.
|
Command migrate performs migration on a given database. |
Package db manages the DB part of the kjudge package.
|
Package db manages the DB part of the kjudge package. |
Package models defines all the data models used in the database, as well as methods to acquire and modify them.
|
Package models defines all the data models used in the database, as well as methods to acquire and modify them. |
generate
Command "generate-models" reads the model information from the "models/models.json" file, and generate the relevant "models/generated.go" file.
|
Command "generate-models" reads the model information from the "models/models.json" file, and generate the relevant "models/generated.go" file. |
verify
Package verify implements certain verification methods for simple data structures.
|
Package verify implements certain verification methods for simple data structures. |
Package server provides the back-end implementation of the kjudge app.
|
Package server provides the back-end implementation of the kjudge app. |
admin
Package admin defines admin routes.
|
Package admin defines admin routes. |
auth
Package auth implements the authentication functions for the server.
|
Package auth implements the authentication functions for the server. |
httperr
Package httperr provides some convenience functions to create echo HTTP errors.
|
Package httperr provides some convenience functions to create echo HTTP errors. |
user
User implements a group that handle /user requests.
|
User implements a group that handle /user requests. |
Package tests handles multiple test uploading.
|
Package tests handles multiple test uploading. |
Package worker provides a job-processing interface based on a sandbox implementation.
|
Package worker provides a job-processing interface based on a sandbox implementation. |
isolate
Package isolate provides a safe sandbox on Linux using the "isolate" program.
|
Package isolate provides a safe sandbox on Linux using the "isolate" program. |
raw
Raw implements a "raw" sandbox.
|
Raw implements a "raw" sandbox. |
Click to show internal directories.
Click to hide internal directories.