constants

package
v0.0.0-...-699dfa3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2019 License: MIT Imports: 1 Imported by: 10

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL