Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScore ¶
AddScore inserts a score into the main score database. It also updates the entry for this specific box/service/team combo in the recent scores table.
func GetRandomUser ¶
func GetRandomUser( ctx context.Context, db *pgxpool.Pool, userListID types.UserListName, teamNum types.TeamNum, ) (types.User, error)
GetRandomUser pulls a random user from a specific userlist for a specific team. This performs no validation. Will fail with an error if invalid input is given.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.