Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gatekeeper
command
Command gatekeeper is a self-hosted Telegram access-control bot.
|
Command gatekeeper is a self-hosted Telegram access-control bot. |
|
migrate
command
Command migrate is the operational entry point for SQLite schema changes.
|
Command migrate is the operational entry point for SQLite schema changes. |
|
internal
|
|
|
admission
Package admission owns the pull-based grant-access flow.
|
Package admission owns the pull-based grant-access flow. |
|
applog
Package applog wires slog to the project's logging configuration so every binary (gatekeeper, migrate) emits logs in the same shape.
|
Package applog wires slog to the project's logging configuration so every binary (gatekeeper, migrate) emits logs in the same shape. |
|
bot
Package bot contains Telegram command handlers.
|
Package bot contains Telegram command handlers. |
|
config
Package config loads and validates the application configuration from the environment (12-factor).
|
Package config loads and validates the application configuration from the environment (12-factor). |
|
domain
Package domain holds the value types shared across the whole application.
|
Package domain holds the value types shared across the whole application. |
|
enforcer
Package enforcer executes durable Telegram actions from access_actions.
|
Package enforcer executes durable Telegram actions from access_actions. |
|
engine
Package engine contains the subscription status core.
|
Package engine contains the subscription status core. |
|
invite
Package invite owns Telegram invite-link lifecycle rules.
|
Package invite owns Telegram invite-link lifecycle rules. |
|
lib/random
Package random provides process-unique identifiers for test data that gofakeit cannot safely supply.
|
Package random provides process-unique identifiers for test data that gofakeit cannot safely supply. |
|
messages
Package messages keeps user-visible Telegram texts in one place.
|
Package messages keeps user-visible Telegram texts in one place. |
|
notify
Package notify sends best-effort direct messages for early runtime phases before the durable outbox exists.
|
Package notify sends best-effort direct messages for early runtime phases before the durable outbox exists. |
|
operatorlog
Package operatorlog emits the owner-facing operator event feed.
|
Package operatorlog emits the owner-facing operator event feed. |
|
reconcile
Package reconcile contains background consistency checks.
|
Package reconcile contains background consistency checks. |
|
redact
Package redact removes secrets and personal data from provider payloads before those payloads are stored or logged.
|
Package redact removes secrets and personal data from provider payloads before those payloads are stored or logged. |
|
source
Package source contains concrete subscription sources used by the status engine.
|
Package source contains concrete subscription sources used by the status engine. |
|
store
Package store owns the SQLite database: opening it with the right pragmas, verifying that the schema is in place and the concrete repository types built on hand-written SQL.
|
Package store owns the SQLite database: opening it with the right pragmas, verifying that the schema is in place and the concrete repository types built on hand-written SQL. |
|
telegram
Package telegram owns the concrete Telegram Bot API client and the durable long-polling runtime.
|
Package telegram owns the concrete Telegram Bot API client and the durable long-polling runtime. |
|
testutil
Package testutil holds shared helpers for the test suite: currently a single migrate-and-open database fixture (NewDB).
|
Package testutil holds shared helpers for the test suite: currently a single migrate-and-open database fixture (NewDB). |
|
webhook
Package webhook owns the optional HTTP surface for health, metrics and provider webhooks.
|
Package webhook owns the optional HTTP surface for health, metrics and provider webhooks. |
Click to show internal directories.
Click to hide internal directories.