package
1.12.1
Repository: https://github.com/contiamo/go-base.git
Documentation: pkg.go.dev

# Functions

NewDequeuer creates a new postgres queue dequeuer.
NewDequeuerWithMetrics creates a new postgres queue dequeuer with the default metrics enabled.
NewQueuer creates a new postgres queue queuer.
NewQueuerWithMetrics creates a new postgres queue queuer with metrics enabled.
NewScheduler creates a new postgres task scheduler.
NewScheduler creates a new postgres task scheduler with metrics enabled.
SetupTables sets up all the necessary tables, foreign keys and indexes.

# Constants

SchedulesTable is the name of the Postgres table used for schedules.
TasksTable is the name of the Postgres table that is used for tasks.

# Structs

ForeignReference describes a foreign key reference in the queue system.