Documentation
¶
Overview ¶
Package postgres is an xoutbox.Store for PostgreSQL 12+ using database/sql (works with pgx/stdlib and lib/pq).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.1.0
Option configures the store.
func WithMaxAttempts ¶ added in v0.1.0
WithMaxAttempts sets the default attempt limit for new events (default 10).
func WithOrdering ¶ added in v0.1.0
func WithOrdering() Option
WithOrdering enables strict per-key ordering: an event is not claimed while an older event with the same Key is pending or in flight (head-of-line blocking).
Click to show internal directories.
Click to hide internal directories.