Directories
¶
| Path | Synopsis |
|---|---|
|
Package audit writes who changed what into an app's audit_events table (schema.sql), in the transaction of the change, and pages through it for a back office.
|
Package audit writes who changed what into an app's audit_events table (schema.sql), in the transaction of the change, and pages through it for a back office. |
|
Package auth documents the authentication-related subpackages and SQL artefacts in this module.
|
Package auth documents the authentication-related subpackages and SQL artefacts in this module. |
|
passwords
Package passwords provides bcrypt password hashing, email normalization, and breach-check via the HaveIBeenPwned k-anonymity API.
|
Package passwords provides bcrypt password hashing, email normalization, and breach-check via the HaveIBeenPwned k-anonymity API. |
|
schema
Package schema documents the authentication SQL artefacts shipped with this module.
|
Package schema documents the authentication SQL artefacts shipped with this module. |
|
sessions
Package sessions provides session token generation, cookie helpers, session policy, and request URL/host detection.
|
Package sessions provides session token generation, cookie helpers, session policy, and request URL/host detection. |
|
Package backoffice is the back office the apps share: who may use an app (roles, access states), the session check that enforces it on every request, the admin routes over the accounts, View as, the announcement shown to everyone, the features an admin keeps to the admins, the audit log and the account stats.
|
Package backoffice is the back office the apps share: who may use an app (roles, access states), the session check that enforces it on every request, the admin routes over the accounts, View as, the announcement shown to everyone, the features an admin keeps to the admins, the audit log and the account stats. |
|
Package buildinfo exposes application version metadata initialized through linker flags and registered as a VictoriaMetrics info metric.
|
Package buildinfo exposes application version metadata initialized through linker flags and registered as a VictoriaMetrics info metric. |
|
Package claude provides a minimal client for the Anthropic Messages API, including non-streaming and streaming text completions.
|
Package claude provides a minimal client for the Anthropic Messages API, including non-streaming and streaming text completions. |
|
Package db provides small database/sql helpers for nullable values, SQLite constraint checks, migrations, transactions, and query tracing.
|
Package db provides small database/sql helpers for nullable values, SQLite constraint checks, migrations, transactions, and query tracing. |
|
Package envflag extends flag parsing with environment-variable fallback.
|
Package envflag extends flag parsing with environment-variable fallback. |
|
Package httpserver provides HTTP server helpers for graceful shutdown, JSON responses, strict JSON decoding, pagination, trusted-proxy client IP detection, rate limiting, built-in metrics routes, and embedded UI assets.
|
Package httpserver provides HTTP server helpers for graceful shutdown, JSON responses, strict JSON decoding, pagination, trusted-proxy client IP detection, rate limiting, built-in metrics routes, and embedded UI assets. |
|
Package logger provides a small structured logger with flag-based level, output, and timezone settings.
|
Package logger provides a small structured logger with flag-based level, output, and timezone settings. |
|
Package mailer sends email through blackhole, SMTP, AWS SES v2, or Resend backends and includes helpers for verification links.
|
Package mailer sends email through blackhole, SMTP, AWS SES v2, or Resend backends and includes helpers for verification links. |
|
Package oauthgoogle implements Google Sign-In via the OAuth 2.0 authorization-code flow with PKCE (RFC 7636), using only the standard library.
|
Package oauthgoogle implements Google Sign-In via the OAuth 2.0 authorization-code flow with PKCE (RFC 7636), using only the standard library. |
|
Package push sends Web Push notifications (RFC 8030, 8291 and 8292) to the phones and browsers that turned them on; it owns push_subscriptions (schema.sql) and calls the app's backoffice for the session.
|
Package push sends Web Push notifications (RFC 8030, 8291 and 8292) to the phones and browsers that turned them on; it owns push_subscriptions (schema.sql) and calls the app's backoffice for the session. |
Click to show internal directories.
Click to hide internal directories.