internal/

directory
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: MIT

README

internal/

Server-private packages. Nothing here may be imported from outside this module (enforced by Go's internal/ rule). Public, importable surfaces live in ../pkg instead.

Planned subpackages (added when the stack is fixed): config, server (HTTP runtime + the ogen server handlers), storage, auth, federation, events, delivery.

Directories

Path Synopsis
Package config holds the IAM service configuration, loaded from a config file (config.yaml, path via CONFIG_PATH) overlaid with environment variables and validated.
Package config holds the IAM service configuration, loaded from a config file (config.yaml, path via CONFIG_PATH) overlaid with environment variables and validated.
Package domain holds the IAM domain model: aggregate roots and the command value-objects services pass to the aggregate ports.
Package domain holds the IAM domain model: aggregate roots and the command value-objects services pass to the aggregate ports.
Package iambot is the Telegram operator bot: it watches pending access requests through the IAM admin API and lets allowlisted Telegram users approve/deny them (or mint invites) without opening the admin panel.
Package iambot is the Telegram operator bot: it watches pending access requests through the IAM admin API and lets allowlisted Telegram users approve/deny them (or mint invites) without opening the admin panel.
infrastructure
postgres
Package postgres is the Postgres-backed persistence for IAM: a hand-written pgx + pgtx + bob layer following the komeet pattern — a single *pgxpool.Pool, a pgtx transaction manager (tx.Trm) services use to run repo calls inside an ambient transaction, a ctx-aware TxDB executor, and a bob pool for typed query building.
Package postgres is the Postgres-backed persistence for IAM: a hand-written pgx + pgtx + bob layer following the komeet pattern — a single *pgxpool.Pool, a pgtx transaction manager (tx.Trm) services use to run repo calls inside an ambient transaction, a ctx-aware TxDB executor, and a bob pool for typed query building.
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
Package webhooksecret decodes signing secrets shared by IAM and its SDK.
Package webhooksecret decodes signing secrets shared by IAM and its SDK.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL