Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
pacenote-server
command
Command pacenote-server is the Pacenote community edition server: one binary an operator points at a PostgreSQL database and configures in a browser.
|
Command pacenote-server is the Pacenote community edition server: one binary an operator points at a PostgreSQL database and configures in a browser. |
|
internal
|
|
|
admin
Package admin is the operator's panel: sign in, sign out, a layout, and one page that says what this server is and how it is doing.
|
Package admin is the operator's panel: sign in, sign out, a layout, and one page that says what this server is and how it is doing. |
|
api
Package api is version 1 of the sim telemetry API: the contract a telemetry client talks to, exactly as docs/API-V1.md defines it.
|
Package api is version 1 of the sim telemetry API: the contract a telemetry client talks to, exactly as docs/API-V1.md defines it. |
|
app
Package app is the server's runtime: it decides which mode to start in, builds the listeners for that mode, and switches between them without the operator having to restart anything.
|
Package app is the server's runtime: it decides which mode to start in, builds the listeners for that mode, and switches between them without the operator having to restart anything. |
|
auth
Package auth holds the server's credentials: how a password is hashed, how a random token is minted, and how any of it is compared.
|
Package auth holds the server's credentials: how a password is hashed, how a random token is minted, and how any of it is compared. |
|
buildinfo
Package buildinfo reports which build of the server is running.
|
Package buildinfo reports which build of the server is running. |
|
clientbuild
Package clientbuild turns one prebuilt Windows client into a client that knows this team's address.
|
Package clientbuild turns one prebuilt Windows client into a client that knows this team's address. |
|
clientbuild/clientbuildtest
Package clientbuildtest builds the fixtures the client-building tests need: a file shaped like a Windows executable, with a reserved region inside it.
|
Package clientbuildtest builds the fixtures the client-building tests need: a file shaped like a Windows executable, with a reserved region inside it. |
|
config
Package config is the server's configuration: the small file beside the binary, the environment variables that override it, and the organisation settings that live in the database.
|
Package config is the server's configuration: the small file beside the binary, the environment variables that override it, and the organisation settings that live in the database. |
|
db
Package db is the only package that speaks PostgreSQL.
|
Package db is the only package that speaks PostgreSQL. |
|
driverauth
Package driverauth holds a driver's session.
|
Package driverauth holds a driver's session. |
|
httpx
Package httpx is the server's HTTP plumbing: the hardened http.Server, the middleware every route wears, and the decoders that read a request body.
|
Package httpx is the server's HTTP plumbing: the hardened http.Server, the middleware every route wears, and the decoders that read a request body. |
|
logging
Package logging builds the server's one logger: slog, JSON, to stdout, with a redaction layer wrapped around it.
|
Package logging builds the server's one logger: slog, JSON, to stdout, with a redaction layer wrapped around it. |
|
metrics
Package metrics is the private port: Prometheus counters and pprof, bound to loopback and nothing else.
|
Package metrics is the private port: Prometheus counters and pprof, bound to loopback and nothing else. |
|
packaging
Package packaging describes what a release package contains.
|
Package packaging describes what a release package contains. |
|
plugins
Package plugins runs the server's plugins.
|
Package plugins runs the server's plugins. |
|
pluginweb
Package pluginweb mounts every plugin that asked for a route.
|
Package pluginweb mounts every plugin that asked for a route. |
|
setup
Package setup is the first-run wizard: the only thing this server serves until an operator has told it what it is.
|
Package setup is the first-run wizard: the only thing this server serves until an operator has told it what it is. |
|
web
Package web holds what the server-rendered pages share: the one stylesheet, and the template helpers that format a number for an operator.
|
Package web holds what the server-rendered pages share: the one stylesheet, and the template helpers that format a number for an operator. |
Click to show internal directories.
Click to hide internal directories.