Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
schmetterpause
command
Command schmetterpause is the project's only binary.
|
Command schmetterpause is the project's only binary. |
|
Package db embeds the database migrations into the binary.
|
Package db embeds the database migrations into the binary. |
|
internal
|
|
|
auth
Package auth keeps authentication behind an interface.
|
Package auth keeps authentication behind an interface. |
|
checkin
Package checkin decides whether two check-ins prove a match (docs/adr/0024).
|
Package checkin decides whether two check-ins prove a match (docs/adr/0024). |
|
config
Package config reads the runtime configuration from the environment.
|
Package config reads the runtime configuration from the environment. |
|
credential
Package credential generates and checks the shared secrets a player proves themselves with: the recovery code from docs/adr/0006 and the PIN from docs/adr/0007.
|
Package credential generates and checks the shared secrets a player proves themselves with: the recovery code from docs/adr/0006 and the PIN from docs/adr/0007. |
|
domain
Package domain holds the application's business types.
|
Package domain holds the application's business types. |
|
match
Package match validates a proposed match result.
|
Package match validates a proposed match result. |
|
metrics
Package metrics is what the application measures about itself, for a scraper that reaches the pod directly (issue #175, level 2).
|
Package metrics is what the application measures about itself, for a scraper that reaches the pod directly (issue #175, level 2). |
|
qr
Package qr renders a QR code as SVG geometry.
|
Package qr renders a QR code as SVG geometry. |
|
ratelimit
Package ratelimit slows down guessing at a shared secret.
|
Package ratelimit slows down guessing at a shared secret. |
|
repository
Package repository defines data access as an interface.
|
Package repository defines data access as an interface. |
|
repository/postgres
Package postgres implements the repository interfaces on Postgres.
|
Package postgres implements the repository interfaces on Postgres. |
|
scoring
Package scoring settles a confirmed match.
|
Package scoring settles a confirmed match. |
|
seed
Package seed fills an empty database with a small, believable field.
|
Package seed fills an empty database with a small, believable field. |
|
server
Package server holds HTTP routing, middleware and handlers.
|
Package server holds HTTP routing, middleware and handlers. |
|
standings
Package standings turns player records into a ranking.
|
Package standings turns player records into a ranking. |
|
stats
Package stats answers questions about results that have already been agreed: who beat whom, and how much table tennis the office has actually played.
|
Package stats answers questions about results that have already been agreed: who beat whom, and how much table tennis the office has actually played. |
|
templates
templ: version: v0.3.1070
|
templ: version: v0.3.1070 |
|
tournament
Package tournament owns the two pieces of a round robin that are easy to get quietly wrong: who plays whom in which round, and where everybody stands once results arrive.
|
Package tournament owns the two pieces of a round robin that are easy to get quietly wrong: who plays whom in which round, and where everybody stands once results arrive. |
|
ttr
Package ttr implements the rating used by the German table tennis association (Tischtennis-Rating).
|
Package ttr implements the rating used by the German table tennis association (Tischtennis-Rating). |
|
zaehlwerk
Package zaehlwerk is the one call this application makes to the Zählwerk: claiming a table half for a player who checked in with their phone (docs/adr/0026).
|
Package zaehlwerk is the one call this application makes to the Zählwerk: claiming a table half for a player who checked in with their phone (docs/adr/0026). |
|
Package web embeds the static assets into the binary.
|
Package web embeds the static assets into the binary. |
Click to show internal directories.
Click to hide internal directories.


