Directories
¶
| Path | Synopsis |
|---|---|
|
Package actor carries who authorized a request through the context.
|
Package actor carries who authorized a request through the context. |
|
Package apperr is the structured error every transport returns.
|
Package apperr is the structured error every transport returns. |
|
Package cli is an agent-facing command line as data: a tree of Commands, the global flags, `schema` and `--help --json`, compact JSON when piped, JSON errors on stderr, and the exit codes 0 ok, 2 usage, 3 not found, 4 conflict, 5 auth, 6 validation, 1 other.
|
Package cli is an agent-facing command line as data: a tree of Commands, the global flags, `schema` and `--help --json`, compact JSON when piped, JSON errors on stderr, and the exit codes 0 ok, 2 usage, 3 not found, 4 conflict, 5 auth, 6 validation, 1 other. |
|
Package events is the activity feed: one row per thing that happened to one of a user's records.
|
Package events is the activity feed: one row per thing that happened to one of a user's records. |
|
Package httpx is the JSON API plumbing a handler needs: reading and checking a request, and writing results and errors.
|
Package httpx is the JSON API plumbing a handler needs: reading and checking a request, and writing results and errors. |
|
Package migrations is the schema of appkit's platform tables: users, API tokens, the audit log, idempotency records, rate-limit counters, OAuth grants, clients and refresh tokens, and passkeys.
|
Package migrations is the schema of appkit's platform tables: users, API tokens, the audit log, idempotency records, rate-limit counters, OAuth grants, clients and refresh tokens, and passkeys. |
|
Package paging holds the list envelope, cursors and field projection checks.
|
Package paging holds the list envelope, cursors and field projection checks. |
|
Package session checks API tokens and runs dashboard sign-ins on top of them: a sign-in is a token with an idle and an absolute lifetime.
|
Package session checks API tokens and runs dashboard sign-ins on top of them: a sign-in is a token with an idle and an absolute lifetime. |
|
Package sqldb opens Postgres or SQLite and runs queries written once for both: `?` placeholders, a transaction carried in the context, and one database-wide lock.
|
Package sqldb opens Postgres or SQLite and runs queries written once for both: `?` placeholders, a transaction carried in the context, and one database-wide lock. |
Click to show internal directories.
Click to hide internal directories.