Directories
¶
| Path | Synopsis |
|---|---|
|
Package app provides shared application lifecycle logic and bootstrap helpers.
|
Package app provides shared application lifecycle logic and bootstrap helpers. |
|
Package config loads layered JSON configuration files with environment variable overrides into a service-defined config struct.
|
Package config loads layered JSON configuration files with environment variable overrides into a service-defined config struct. |
|
Package echo provides the shared Echo HTTP stack: instance assembly, apperror-aware error handling, request logging, Sentry integration, the HTTP server lifecycle, and actor guard middlewares.
|
Package echo provides the shared Echo HTTP stack: instance assembly, apperror-aware error handling, request logging, Sentry integration, the HTTP server lifecycle, and actor guard middlewares. |
|
Package iam authenticates requests using IAM (Keycloak) service JWTs.
|
Package iam authenticates requests using IAM (Keycloak) service JWTs. |
|
Package messaging_router provides the default in-memory subject→handler router implementing messaging.MessageHandlerRegisterer.
|
Package messaging_router provides the default in-memory subject→handler router implementing messaging.MessageHandlerRegisterer. |
|
Package nats provides the NATS JetStream connection, subject routing, and event/queue subscribers shared by all Tupic services.
|
Package nats provides the NATS JetStream connection, subject routing, and event/queue subscribers shared by all Tupic services. |
|
Package objectstorage_router provides the default in-memory event router implementing objectstorage.EventHandlerRegisterer; "<Category>:*" matches every subtype within the category, with exact matches taking precedence.
|
Package objectstorage_router provides the default in-memory event router implementing objectstorage.EventHandlerRegisterer; "<Category>:*" matches every subtype within the category, with exact matches taking precedence. |
|
Package outbox_queue implements the queue.Queue contract on top of the outbox: each task is stored as an integration event whose subject carries the channel, so the relay ships it to the work-queue stream.
|
Package outbox_queue implements the queue.Queue contract on top of the outbox: each task is stored as an integration event whose subject carries the channel, so the relay ships it to the work-queue stream. |
|
Package persistence wires the database connector, migrator, and unit of work shared by all platform services.
|
Package persistence wires the database connector, migrator, and unit of work shared by all platform services. |
|
config
Package config holds the persistence configuration types in a leaf package so the connector and migrator can import them without cycles.
|
Package config holds the persistence configuration types in a leaf package so the connector and migrator can import them without cycles. |
|
connector
Package connector opens and supervises the SQL connection pool and its GORM handle.
|
Package connector opens and supervises the SQL connection pool and its GORM handle. |
|
migrator
Package migrator selects the migration driver from configuration.
|
Package migrator selects the migration driver from configuration. |
|
migrator/contract
Package contract defines the migration driver contract.
|
Package contract defines the migration driver contract. |
|
migrator/postgres
Package postgres implements the migration contract with golang-migrate.
|
Package postgres implements the migration contract with golang-migrate. |
|
uow
Package uow provides the GORM implementation of the UnitOfWork contract, plus the context plumbing repositories use to join an ambient transaction.
|
Package uow provides the GORM implementation of the UnitOfWork contract, plus the context plumbing repositories use to join an ambient transaction. |
|
Package random provides a crypto/rand-backed implementation of the random.Random contract.
|
Package random provides a crypto/rand-backed implementation of the random.Random contract. |
|
Package s3 implements the storage contract with AWS S3 (or a compatible API such as LocalStack/MinIO).
|
Package s3 implements the storage contract with AWS S3 (or a compatible API such as LocalStack/MinIO). |
|
Package sentry initializes the Sentry SDK with a shutdown flush hook.
|
Package sentry initializes the Sentry SDK with a shutdown flush hook. |
|
Package sqs is the SQS adapter for object-storage events: it polls an SQS queue fed by S3 bucket notifications, parses each message into an objectstorage.Event, and dispatches it through an objectstorage.Router.
|
Package sqs is the SQS adapter for object-storage events: it polls an SQS queue fed by S3 bucket notifications, parses each message into an objectstorage.Event, and dispatches it through an objectstorage.Router. |
Click to show internal directories.
Click to hide internal directories.