Documentation
¶
Overview ¶
Package outbox implements the Transactional Outbox pattern: outbound messages are stored in the caller's DB transaction and a relay ships them to NATS asynchronously.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
Message is the constraint for any outbound message the outbox can ship — an integration event or a queue task alike. Both are addressed by Subject and carry a schema Version; the stored payload is the value's own JSON. The outbox is deliberately blind to which kind it is: the event-vs-task distinction lives in the subject namespace, not here.
Click to show internal directories.
Click to hide internal directories.