Directories
¶
| Path | Synopsis |
|---|---|
|
Package apicommon holds reusable HTTP response shapes.
|
Package apicommon holds reusable HTTP response shapes. |
|
Package apiroute collapses the standard huma route registration ceremony into one line per route.
|
Package apiroute collapses the standard huma route registration ceremony into one line per route. |
|
Package auth provides the authenticated-request context and the permission-check helpers used by every write handler.
|
Package auth provides the authenticated-request context and the permission-check helpers used by every write handler. |
|
Package bff hosts the /bff/* endpoints — frontend-only, session-auth, response shapes tuned to screens.
|
Package bff hosts the /bff/* endpoints — frontend-only, session-auth, response shapes tuned to screens. |
|
Package database provides the pgxpool factory.
|
Package database provides the pgxpool factory. |
|
Package dispatchqueue holds the naming and priority rules shared by the dispatch scheduler (which publishes each claimed job to a queue) and the router-config document the platform serves (which advertises those same queues).
|
Package dispatchqueue holds the naming and priority rules shared by the dispatch scheduler (which publishes each claimed job to a queue) and the router-config document the platform serves (which advertises those same queues). |
|
Package email sends transactional emails (password reset, …) over SMTP.
|
Package email sends transactional emails (password reset, …) over SMTP. |
|
Package encryption implements field-level AES-256-GCM encryption with FLOWCATALYST_APP_KEY rotation support, plus a keyed-hash form for secrets that are only ever verified (never resent or re-signed by the platform).
|
Package encryption implements field-level AES-256-GCM encryption with FLOWCATALYST_APP_KEY rotation support, plus a keyed-hash form for secrets that are only ever verified (never resent or re-signed by the platform). |
|
Package httpcompat is the integration layer between danielgtaylor/huma/v2 and FlowCatalyst's existing wire conventions.
|
Package httpcompat is the integration layer between danielgtaylor/huma/v2 and FlowCatalyst's existing wire conventions. |
|
Package httperror maps internal errors to HTTP responses with the platform's canonical JSON envelope shape:
|
Package httperror maps internal errors to HTTP responses with the platform's canonical JSON envelope shape: |
|
Package jsontime provides a time wrapper with fixed-precision microsecond ISO-8601 JSON serialisation.
|
Package jsontime provides a time wrapper with fixed-precision microsecond ISO-8601 JSON serialisation. |
|
Package me serves /api/me — the canonical "who am I" lookup returned to agents, SDKs, and the dashboard.
|
Package me serves /api/me — the canonical "who am I" lookup returned to agents, SDKs, and the dashboard. |
|
Package middleware provides the platform's chi/net/http middleware stack.
|
Package middleware provides the platform's chi/net/http middleware stack. |
|
Package platformsink implements usecasepgx.Sink for the platform itself.
|
Package platformsink implements usecasepgx.Sink for the platform itself. |
|
Package ratelimit provides the distributed Store and the in-memory Governor.
|
Package ratelimit provides the distributed Store and the in-memory Governor. |
|
Package repocommon holds shared repository-layer helpers: the ErrNoRows→nil single-row convention and the positional-argument filter builder used by the hand-rolled dynamic list queries (see docs/sqlc.md for why those stay hand-written).
|
Package repocommon holds shared repository-layer helpers: the ErrNoRows→nil single-row convention and the positional-argument filter builder used by the hand-rolled dynamic list queries (see docs/sqlc.md for why those stay hand-written). |
|
dispatch_job_create.go hosts POST /api/dispatch-jobs — the singular SDK create.
|
dispatch_job_create.go hosts POST /api/dispatch-jobs — the singular SDK create. |
|
Package syncdiff holds the value comparisons the definition syncs use to tell a row they would rewrite with different content from one they would rewrite with the same content (F30): an unchanged row is neither saved nor counted nor audited.
|
Package syncdiff holds the value comparisons the definition syncs use to tell a row they would rewrite with different content from one they would rewrite with the same content (F30): an unchanged row is neither saved nor counted nor audited. |
|
Package validate holds the shared operations-layer input checks.
|
Package validate holds the shared operations-layer input checks. |
|
Package versioncache answers "has this principal (or a role it holds) changed since a given moment?" cheaply enough to check on every request.
|
Package versioncache answers "has this principal (or a role it holds) changed since a given moment?" cheaply enough to check on every request. |
Click to show internal directories.
Click to hide internal directories.