package
0.0.0-20240915153632-0f58b75ebb1a
Repository: https://github.com/p0h1ng/cardinal.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CalculateRoundScore will calculate the score of the given round.
CheckDown is the gamebox check down handler for bots.
No description provided by the author
DeleteChallenge is delete challenge handler for manager.
EditChallenge is edit challenge handler for manager.
EditGameBox is edit gamebox handler for manager.
ExportFlag exports the flags of a challenge.
GenerateFlag is the generate flag handler for manager.
GetAllChallenges get all challenges from the database.
GetFlags get flags from the database for backstage manager.
GetGameBoxes returns the gameboxes for manager.
No description provided by the author
GetManagerRankList returns the ranking list data for manager from the cache.
GetOthersGameBox returns the other teams' gameboxes if the config is set to true.
GetRankList returns the ranking list data for team from the cache.
GetRankListTitle returns the ranking list table header from the cache.
GetSelfGameBoxes returns the gameboxes which belong to the team.
NewChallenge is new challenge handler for manager.
NewGameBoxes is add a new gamebox handler for manager.
RefreshFlag refreshes all the flags in current round.
No description provided by the author
SetRankList will calculate the ranking list.
SetRankListTitle will save the visible challenges' headers into cache.
SetVisible is setting challenge visible status handler.
SubmitFlag is submit flag handler for teams.
No description provided by the author
No description provided by the author

# Structs

GameBoxInfo contains the gamebox info which for manager.
GameBoxStatus contains the gamebox info which for team.
RankItem is used to create the ranking list.