pq

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
}

func (Provider) Open

func (Provider) Open(attrs map[string]interface{}) (jobworker.Connector, error)

type SQLTemplateForPostgres

type SQLTemplateForPostgres struct {
}

func (SQLTemplateForPostgres) NewAddQueueAttributeDML

func (SQLTemplateForPostgres) NewAddQueueAttributeDML(queueName, queueRawName string, delaySeconds, maximumMessageSize, messageRetentionPeriod int64, deadLetterTarget string, maxReceiveCount, visibilityTimeout int64) (string, []interface{})

func (SQLTemplateForPostgres) NewCreateQueueAttributeDDL

func (SQLTemplateForPostgres) NewCreateQueueAttributeDDL() string

func (SQLTemplateForPostgres) NewCreateQueueDDL

func (SQLTemplateForPostgres) NewCreateQueueDDL(queueRawName string) string

func (SQLTemplateForPostgres) NewDeleteJobDML

func (SQLTemplateForPostgres) NewDeleteJobDML(queueRawName, jobID string) (stmt string, args []interface{})

func (SQLTemplateForPostgres) NewEnqueueJobDML

func (SQLTemplateForPostgres) NewEnqueueJobDML(queueRawName, jobID, class, args string, deduplicationID, groupID *string, delaySeconds int64) (string, []interface{})

func (SQLTemplateForPostgres) NewEnqueueJobWithTimeDML

func (SQLTemplateForPostgres) NewEnqueueJobWithTimeDML(queueRawName, jobID, class, args string, deduplicationID, groupID *string, enqueueAt int64) (string, []interface{})

func (SQLTemplateForPostgres) NewFindJobDML

func (SQLTemplateForPostgres) NewFindJobDML(queueRawName string, jobID string) (string, []interface{})

func (SQLTemplateForPostgres) NewFindJobsDML

func (SQLTemplateForPostgres) NewFindJobsDML(queueRawName string, limit int64) (stmt string, args []interface{})

func (SQLTemplateForPostgres) NewFindQueueAttributeDML

func (SQLTemplateForPostgres) NewFindQueueAttributeDML(queueName string) (stmt string, args []interface{})

func (SQLTemplateForPostgres) NewHideJobDML

func (SQLTemplateForPostgres) NewHideJobDML(queueRawName string, jobID string, oldRetryCount, oldInvisibleUntil, invisibleTime int64) (stmt string, args []interface{})

func (SQLTemplateForPostgres) NewUpdateJobByVisibilityTimeoutDML

func (SQLTemplateForPostgres) NewUpdateJobByVisibilityTimeoutDML(queueRawName string, jobID string, visibilityTimeout int64) (stmt string, args []interface{})

func (SQLTemplateForPostgres) NewUpdateQueueAttributeDML

func (SQLTemplateForPostgres) NewUpdateQueueAttributeDML(visibilityTimeout, delaySeconds, maximumMessageSize, messageRetentionPeriod *int64, deadLetterTarget *string, maxReceiveCount *int64, queueName string) (string, []interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL