Documentation ¶
Index ¶
- func AddToScoreByName(username, scoreboardName string, scoreToAdd float32) error
- func CurrentGuessScoreboard() string
- func CurrentMilesScoreboard() string
- func GetScoreByName(username, scoreboardName string) (float32, error)
- func TopUsers(scoreboardName string, size int) [][]string
- type Score
- type Scoreboard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToScoreByName ¶
AddToScoreByName increases the score value for a given username and scoreboard name TODO: this could be achieved with less queries
func CurrentGuessScoreboard ¶
func CurrentGuessScoreboard() string
func CurrentMilesScoreboard ¶
func CurrentMilesScoreboard() string
func GetScoreByName ¶
GetScoreByName returns the score value for a given username and scoreboard name TODO: this could be achieved with a single query
Types ¶
Click to show internal directories.
Click to hide internal directories.