internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT

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.

Jump to

Keyboard shortcuts

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