Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth is LibraryZ's authentication and authorization layer, built on github.com/kararnab/iam: argon2id passwords, bearer sessions (short access JWTs + rotating refresh tokens with reuse detection), per-account and per-IP login throttling, and RBAC.
|
Package auth is LibraryZ's authentication and authorization layer, built on github.com/kararnab/iam: argon2id passwords, bearer sessions (short access JWTs + rotating refresh tokens with reuse detection), per-account and per-IP login throttling, and RBAC. |
|
Package httpx holds small HTTP helpers shared across handler packages.
|
Package httpx holds small HTTP helpers shared across handler packages. |
|
Package middleware holds the request-context helpers handlers use to find the caller.
|
Package middleware holds the request-context helpers handlers use to find the caller. |
|
Package migrations owns the database schema.
|
Package migrations owns the database schema. |
|
baseline
Package baseline is a frozen snapshot of the schema that migration 00001 creates.
|
Package baseline is a frozen snapshot of the schema that migration 00001 creates. |
|
Package runlock makes periodic background jobs (recommendation training, blob GC) run on exactly one instance at a time when several share a Postgres database.
|
Package runlock makes periodic background jobs (recommendation training, blob GC) run on exactly one instance at a time when several share a Postgres database. |
|
Package sanitize is the L1 ingest filter for uploaded editions: cheap structural checks that the bytes match the declared format and aren't a zip bomb or polyglot.
|
Package sanitize is the L1 ingest filter for uploaded editions: cheap structural checks that the bytes match the declared format and aren't a zip bomb or polyglot. |
|
sanitizetest
Package sanitizetest holds fixtures for tests of internal/sanitize and its callers.
|
Package sanitizetest holds fixtures for tests of internal/sanitize and its callers. |
Click to show internal directories.
Click to hide internal directories.