# Functions
No description provided by the author
GetAccountID returns account ID or zero if there is no account.
GetNow returns time.Now.
NewAccountRoleStore creates a new instance of AccountRoleStore.
NewAccountStore creates a new instance of AccountStore.
No description provided by the author
NewCachedFileStore creates a new instance of FileStore.
NewCompilerStore creates a new instance of CompilerStore.
NewContestParticipantStore creates a new instance of ContestParticipantStore.
NewContestProblemStore creates a new instance of ContestProblemStore.
NewContestSolutionStore creates a new instance of ContestSolutionStore.
NewContestStore creates a new instance of ContestStore.
newFileStore creates a new instance of FileStore.
NewGroupMemberStore creates a new instance of GroupMemberStore.
NewGroupStore creates a new instance of GroupStore.
No description provided by the author
NewProblemResourceStore creates a new instance of ProblemResourceStore.
NewProblemStore creates a new instance of ProblemStore.
NewRoleEdgeStore creates a new instance of RoleEdgeStore.
NewRoleStore creates a new instance of RoleStore.
NewScopeStore creates a new instance of ScopeStore.
NewScopeUserStore creates new instance of scope user store.
NewSessionStore creates a new instance of SessionStore.
NewSettingStore creates a new instance of SettingStore.
NewSolutionStore creates a new instance of SolutionStore.
NewTaskStore creates a new instance of TaskStore.
NewTokenStore creates a new instance of TokenStore.
NewUserStore creates new instance of user store.
NewVisitStore creates a new instance of ViewStore.
No description provided by the author
WithAccountID replaces account ID.
WithNow replaces time.Now.
No description provided by the author
# Constants
Accepted means that solution is correct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CompilationError means that solution can not compiled.
No description provided by the author
ContestSolutionKind represents kind of solution for contest.
CreateEvent means that this is event of object creation.
DeleteEvent means that this is event of object deletion.
No description provided by the author
Failed means that solution checker is failed.
FailedTask means that task is processed with failure.
GroupAccount represents kind of account for group.
No description provided by the author
No description provided by the author
JudgeSolutionTask represents judge solution task.
No description provided by the author
No description provided by the author
MemoryLimitExceeded means that solution uses more memory than allowed.
No description provided by the author
PartiallyAccepted means that solution is partially accepted.
No description provided by the author
No description provided by the author
PresentationError means that solution output is incorrect.
No description provided by the author
No description provided by the author
No description provided by the author
QueuedTask means that task in queue and should be processed.
No description provided by the author
No description provided by the author
No description provided by the author
Rejected means that solutios is rejected.
No description provided by the author
RunningTask means that task already in processing.
RuntimeError means that solution runs incorrectly.
ScopeAccount represents kind of account for scope.
ScopeUserAccount represents kind of account for scope user.
SucceededTask means that task is processed with success.
TimeLimitExceeded means that solution uses more time than allowed.
UpdateEvent means that this is event of object modification.
UpdateProblemPackageTask represents task for update problem package.
No description provided by the author
UserAccount represents kind of account for user.
WrongAnswer means that solution is incorrect.
# Variables
No description provided by the author
No description provided by the author
# Structs
Account represents an account.
AccountEvent represents an account event.
AccountRole represents a account role.
AccountRoleEvent represents account role event.
AccountRoleStore represents store for account roles.
AccountStore represents store for accounts.
Compiler represents compiler.
No description provided by the author
No description provided by the author
CompilerEvent represents compiler event.
CompilerStore represents store for compilers.
No description provided by the author
Contest represents a contest.
No description provided by the author
ContestEvent represents a contest event.
No description provided by the author
No description provided by the author
ContestParticipant represents participant.
ContestParticipant represents participant event.
ContestParticipantStore represents a participant store.
ContestProblem represents connection for problems.
No description provided by the author
ContestProblemEvent represents problem event.
ContestProblemStore represents a problem store.
ContestSolution represents connection for solutions.
ContestSolutionEvent represents solution event.
ContestSolutionStore represents a solution store.
ContestStore represents store for contests.
No description provided by the author
File represents a file.
FileEvent represents a file event.
No description provided by the author
Group represents a group for users.
GroupEvent represents an group event.
Group represents a group member for users.
GroupMemberEvent represents an group member event.
GroupMemberStore represents store for group members.
GroupStore represents store for groups.
JudgeSolutionTaskConfig represets config for JudgeSolution.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Problem represents a problem.
No description provided by the author
ProblemEvent represents a problem event.
ProblemResource represents a problem resource.
ProblemResourceEvent represents a problem resource event.
ProblemResourceStore represents store for problem resources.
No description provided by the author
No description provided by the author
No description provided by the author
ProblemStore represents store for problems.
No description provided by the author
No description provided by the author
Role represents a role.
RoleEdge represents connection for roles.
RoleEdgeEvent represents role edge event.
RoleEdgeStore represents a role edge store.
RoleEvent represents role event.
RoleStore represents a role store.
Scope represents a scope for users.
ScopeEvent represents an scope event.
ScopeStore represents store for scopes.
ScopeUser contains common information about scope user.
ScopeUserEvent represents an scope user event.
ScopeUserStore represents scope users store.
Session represents account session.
SessionEvent represents session event.
SessionStore represents store for sessions.
Setting represents setting.
SettingEvent represents setting event.
SettingStore represents store for settings.
Solution represents a solution.
SolutionEvent represents a solution event.
No description provided by the author
SolutionStore represents store for solutions.
Task represents async task.
TaskEvent represents task event.
TaskStore represents store for tasks.
No description provided by the author
Token represents a token.
TokenEvent represents a token event.
TokenStore represents store for tokens.
UpdateProblemPackageTaskConfig represets config for JudgeSolution.
No description provided by the author
No description provided by the author
User contains common information about user.
UserEvent represents an user event.
UserStore represents users store.
Visit represents user visit.
VisitStore represents visit store.
# Interfaces
CachedStore represents cached store.
Cloner represents object that can be cloned.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Store represents store for objects.
No description provided by the author
No description provided by the author
# Type aliases
AccountKind represents kind of account.
No description provided by the author
EventKind represents kind of object event.
No description provided by the author
JSON represents json value.
No description provided by the author
NInt64 represents nullable int64 with zero value means null value.
NString represents nullable string with empty value means null value.
No description provided by the author
No description provided by the author
SolutionKind represents kind of solution.
No description provided by the author
TaskKind represents kind of task.
TaskStatus represents status of task.
No description provided by the author
No description provided by the author
No description provided by the author