contract/

directory
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT

Directories

Path Synopsis
Package clock provides the Clock contract to provide time with testability.
Package clock provides the Clock contract to provide time with testability.
Package event defines the domain-event contract and the in-process synchronous event bus shared by all platform services.
Package event defines the domain-event contract and the in-process synchronous event bus shared by all platform services.
Package logger provides the Logger contract.
Package logger provides the Logger contract.
Package messaging defines the transport-agnostic inbound message contract and router shared by subscription adapters (NATS, SQS, …).
Package messaging defines the transport-agnostic inbound message contract and router shared by subscription adapters (NATS, SQS, …).
Package objectstorage defines the transport-agnostic object-storage event contract shared by storage-event adapters (SQS, SNS, EventBridge, …).
Package objectstorage defines the transport-agnostic object-storage event contract shared by storage-event adapters (SQS, SNS, EventBridge, …).
Package outbox implements the Transactional Outbox pattern: events are stored in the caller's DB transaction and a relay ships them to NATS asynchronously.
Package outbox implements the Transactional Outbox pattern: events are stored in the caller's DB transaction and a relay ships them to NATS asynchronously.
Package uow provides the UnitOfWork contract.
Package uow provides the UnitOfWork contract.
Package queue defines the task queue contract.
Package queue defines the task queue contract.
Package random defines the contract for generating random values.
Package random defines the contract for generating random values.
Package storage defines the platform file-storage contract.
Package storage defines the platform file-storage contract.
Package validator defines the Validator contract.
Package validator defines the Validator contract.
Package worker defines the port a service's interface layer uses to declare named worker subscriptions.
Package worker defines the port a service's interface layer uses to declare named worker subscriptions.

Jump to

Keyboard shortcuts

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