Documentation
¶
Index ¶
- type Postgres
- func (this *Postgres) Disconnect() error
- func (this Postgres) Healthy(ctx context.Context) error
- func (this *Postgres) Init(queues []string) error
- func (this Postgres) MaxConcurrentDrainWorkers() int
- func (this *Postgres) PassConnection(connection *sql.DB)
- func (this *Postgres) Pop(ctx context.Context, queueName string, handler types.Handler) error
- func (this Postgres) Publish(ctx context.Context, queueName string, payload *types.Task) error
- func (this Postgres) Purge(ctx context.Context, queueName string) error
- func (this Postgres) PurgeMatching(ctx context.Context, queueName, substr string) error
- func (this Postgres) Subscribe(ctx context.Context, queueName string, handler types.Handler) error
- func (this Postgres) Suck(ctx context.Context, queueName string, handler types.Handler) error
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
func (*Postgres) Disconnect ¶
func (Postgres) MaxConcurrentDrainWorkers ¶ added in v3.0.9
func (*Postgres) PassConnection ¶
func (Postgres) PurgeMatching ¶
Click to show internal directories.
Click to hide internal directories.