Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Environment variable names EnvDebug = "KILLOJ_DEBUG" EnvLang = "KILLOJ_LANG" // en or zh EnvJWTSecret = "JWT_SECRET" EnvGithubAuthKey = "GITHUB_KEY" EnvGithubAuthSecret = "GITHUB_SECRET" EnvURL = "KILLOJ_URL" Env3rdAuthCallBackUrl = "KILLOJ_3RD_AUTH_CALLBACK_URL" EnvSessionSecret = "GOAUTH_SESSION_SECRET" )
View Source
const CFile = "main.c"
View Source
const CppFile = "main.cpp"
View Source
const DefaultLang = "en"
View Source
const ExeFile = "Main"
View Source
const GoFile = "main.go"
View Source
const JavaFile = "Main.java"
sandbox
View Source
const JwtIdentityKey = "id"
jwt
View Source
const ProjectName = "KillOJ"
View Source
const SubmitStatusKeyPrefix = "killoj_submit_status_"
redis
View Source
const SubmitStatusTimeout = time.Hour // 1 hour
View Source
const UserProblemSubmitIsCompletePrefix = "killoj_user_problem_submit_is_complete_"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.