package
4.0.0-rc.4
Repository: https://github.com/threedotslabs/watermill-sql.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDelayedPostgreSQLPublisher creates a new Publisher that stores messages in PostgreSQL with a delay.
NewDelayedPostgreSQLSubscriber creates a new Subscriber that reads messages from PostgreSQL with a delay.
NewPostgreSQLDelayedRequeuer creates a new DelayedRequeuer that uses PostgreSQL as a storage.
No description provided by the author
No description provided by the author
TxFromContext returns the transaction used by the subscriber to consume the message.
No description provided by the author
No description provided by the author

# Variables

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

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
DefaultMySQLOffsetsAdapter is adapter for storing offsets for MySQL (or MariaDB) databases.
DefaultMySQLSchema is a default implementation of SchemaAdapter based on MySQL.
DefaultPostgreSQLOffsetsAdapter is adapter for storing offsets in PostgreSQL database.
DefaultPostgreSQLSchema is a default implementation of SchemaAdapter based on PostgreSQL.
No description provided by the author
No description provided by the author
DelayedRequeuer is a requeuer that uses a delayed publisher and subscriber to requeue messages.
DelayedRequeuerConfig is a configuration for DelayedRequeuer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PostgreSQLQueueOffsetsAdapter is an OffsetsAdapter for the PostgreSQLQueueSchema.
PostgreSQLQueueSchema is a schema adapter for PostgreSQL that allows filtering messages by some condition.
Publisher inserts the Messages as rows into a SQL table..
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Subscriber makes SELECT queries on the chosen table with the interval defined in the config.
No description provided by the author
No description provided by the author

# Interfaces

BackoffManager handles errors or empty result sets and computes the backoff time.
Beginner begins transactions.
No description provided by the author
ContextExecutor can perform SQL queries with context.
No description provided by the author
No description provided by the author
A Result summarizes an executed SQL command.
No description provided by the author
No description provided by the author
SchemaAdapter produces the SQL queries and arguments appropriately for a specific schema and dialect It also transforms sql.Rows into Watermill messages.
SQLBeginner matches the standard library sql.DB and sql.Tx interfaces.
No description provided by the author

# Type aliases

Deprecated: Use DefaultMySQLSchema instead.
No description provided by the author