Documentation ¶
Index ¶
- func NewDequeuer(db *sql.DB, dbListener *pq.Listener, cfg config.Queue) queue.Dequeuer
- func NewDequeuerWithMetrics(db *sql.DB, dbListener *pq.Listener, cfg config.Queue) queue.Dequeuer
- func NewQueuer(db *sql.DB) queue.Queuer
- func NewQueuerWithMetrics(db *sql.DB) queue.Queuer
- func NewScheduler(db *sql.DB) queue.Scheduler
- func NewSchedulerWithMetrics(db *sql.DB) queue.Scheduler
- func Setup(ctx context.Context, metricsNamespace string, db db.SQLDB, ...) error
- type ForeignReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDequeuer ¶
NewDequeuer creates a new postgres queue dequeuer
func NewDequeuerWithMetrics ¶
NewDequeuerWithMetrics creates a new postgres queue dequeuer with the default metrics enabled
func NewQueuerWithMetrics ¶
NewQueuerWithMetrics creates a new postgres queue queuer with metrics enabled
func NewScheduler ¶
NewScheduler creates a new postgres task scheduler
func NewSchedulerWithMetrics ¶
NewScheduler creates a new postgres task scheduler with metrics enabled
Types ¶
Click to show internal directories.
Click to hide internal directories.