internal/

directory
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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.
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.

Jump to

Keyboard shortcuts

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