package
0.4.1
Repository: https://github.com/melenium2/go-iobox.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
NewOutbox creates new outbox implementation.
NewRecord creates new record that can be processed by outbox worker.
WithIterationRate sets new interval for sending events from the outbox table.
WithLogger sets custom implementation of Logger.
WithPublishTimeout sets a custom timeout for publishing next event.

# Constants

DebugMode enables additional logs for debug outbox process.
DefaultIterationRate is the timeout after which all outbox events in the outbox table are sent to the broker.
DefaultPublishTimeout is the timeout after which the publication of the current event is canceled.
Done means the current Record is successfully processed.
Failed means the current Record not processed by worker by specific reason.
Null means the current Record is not processed yet.
Progress means the current Record is processed by outbox worker.

# Variables

No description provided by the author
No description provided by the author

# Structs

Outbox is struct that implement outbox pattern.
Record is event that should be processed by outbox worker.

# Interfaces

No description provided by the author
Client provides possibility to set outbox record to the outbox table.
No description provided by the author
No description provided by the author

# Type aliases

Option sets specific configuration to the Outbox.
Status defines current status of Record.