Directories
¶
| Path | Synopsis |
|---|---|
|
Package admin is where every change made from the admin pages or the admin API happens.
|
Package admin is where every change made from the admin pages or the admin API happens. |
|
Package api serves the admin REST API under /api/v1 (spec §8): JSON in and out, over the same admin service the admin pages use, for service accounts that send an API token as "Authorization: Bearer <token>".
|
Package api serves the admin REST API under /api/v1 (spec §8): JSON in and out, over the same admin service the admin pages use, for service accounts that send an API token as "Authorization: Bearer <token>". |
|
Package audit records security-relevant events to the audit log.
|
Package audit records security-relevant events to the audit log. |
|
Package authentik reads an Authentik 2026.8 database into a Snapshot.
|
Package authentik reads an Authentik 2026.8 database into a Snapshot. |
|
Package config loads and validates Keywell's configuration from a YAML file with KEYWELL_* environment overrides.
|
Package config loads and validates Keywell's configuration from a YAML file with KEYWELL_* environment overrides. |
|
Package db opens the SQLite database and applies embedded migrations.
|
Package db opens the SQLite database and applies embedded migrations. |
|
Package icons holds application icon files: where they live, what is accepted, how they are written and which of them belong to an app.
|
Package icons holds application icon files: where they live, what is accepted, how they are written and which of them belong to an app. |
|
Package importer copies an Authentik snapshot into Keywell: members, groups and memberships, then credentials and applications.
|
Package importer copies an Authentik snapshot into Keywell: members, groups and memberships, then credentials and applications. |
|
Package mail sends transactional email.
|
Package mail sends transactional email. |
|
Package metrics keeps a few counters and serves them in the Prometheus text format.
|
Package metrics keeps a few counters and serves them in the Prometheus text format. |
|
Package model holds the plain data types shared across Keywell.
|
Package model holds the plain data types shared across Keywell. |
|
Package oidc implements Keywell's OpenID Connect endpoints.
|
Package oidc implements Keywell's OpenID Connect endpoints. |
|
Package password hashes and verifies member passwords and checks new passwords against the policy.
|
Package password hashes and verifies member passwords and checks new passwords against the policy. |
|
Package ratelimit is an in-memory sliding-window attempt limiter.
|
Package ratelimit is an in-memory sliding-window attempt limiter. |
|
Package secrets provides random tokens, token hashing, UUIDs and AES-GCM encryption for secrets stored at rest.
|
Package secrets provides random tokens, token hashing, UUIDs and AES-GCM encryption for secrets stored at rest. |
|
Package session manages browser sessions: a random token in the keywell_session cookie whose hash (secrets.HashToken) is the ID of a row in the sessions table.
|
Package session manages browser sessions: a random token in the keywell_session cookie whose hash (secrets.HashToken) is the ID of a row in the sessions table. |
|
Package store is the SQLite-backed persistence layer for Keywell.
|
Package store is the SQLite-backed persistence layer for Keywell. |
|
storetest
Package storetest opens throwaway databases for the tests of packages that use the store.
|
Package storetest opens throwaway databases for the tests of packages that use the store. |
|
Package testenv starts a complete Keywell HTTP stack on an httptest server for tests in the web, oidc and api packages (which use external test packages so they can import this one without a cycle).
|
Package testenv starts a complete Keywell HTTP stack on an httptest server for tests in the web, oidc and api packages (which use external test packages so they can import this one without a cycle). |
|
Package totp provides TOTP secrets, validation, provisioning QR codes and one-time recovery codes.
|
Package totp provides TOTP secrets, validation, provisioning QR codes and one-time recovery codes. |
|
Package web serves Keywell's member-facing pages and wires the HTTP middleware every route shares.
|
Package web serves Keywell's member-facing pages and wires the HTTP middleware every route shares. |
Click to show internal directories.
Click to hide internal directories.