leaderboardd

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command leaderboardd runs the self-hosted leaderboard service as a standalone HTTP server, with its scores in a directory of JSON Lines files.

leaderboardd init   -config leaderboards.yaml
leaderboardd genkey -key server.pem
leaderboardd serve  -config leaderboards.yaml -keyset keys.yaml -data scores -addr :8081

init writes a configuration with one all-time high-score board to edit. genkey writes a new game server signing key for score proofs and prints the serverKeys entry to add to the configuration; the game server reads the key with token.ParsePrivateKey and signs with selfhost.NewProofSigner. serve runs the service until SIGINT or SIGTERM, verifying player tokens with the account service's key set file (accountsd genkey writes it).

Jump to

Keyboard shortcuts

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