Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
iam
command
Command iam runs the IAM server: it loads configuration, connects to Postgres, applies migrations, assembles the ogen-generated HTTP API (pkg/api) over the Postgres adapters, exposes liveness/readiness probes, runs the transactional outbox relay, and shuts down gracefully on SIGINT/SIGTERM.
|
Command iam runs the IAM server: it loads configuration, connects to Postgres, applies migrations, assembles the ogen-generated HTTP API (pkg/api) over the Postgres adapters, exposes liveness/readiness probes, runs the transactional outbox relay, and shuts down gracefully on SIGINT/SIGTERM. |
|
internal
|
|
|
config
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. |
|
domain
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. |
|
oas
Code generated by ogen, DO NOT EDIT.
|
Code generated by ogen, DO NOT EDIT. |
|
pkg
|
|
|
api
Package api is the IAM API implementation: the hand-written code that consumers import.
|
Package api is the IAM API implementation: the hand-written code that consumers import. |
|
sdk
Package sdk is the ergonomic Go SDK for IAM resource servers.
|
Package sdk is the ergonomic Go SDK for IAM resource servers. |
|
sdk/grpc
Package grpc contains IAM authentication interceptors for gRPC servers.
|
Package grpc contains IAM authentication interceptors for gRPC servers. |
|
Package web serves the admin SPA.
|
Package web serves the admin SPA. |
Click to show internal directories.
Click to hide internal directories.