mysql

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 SQLTemplateForMySQL

type SQLTemplateForMySQL struct {
}

func (SQLTemplateForMySQL) NewAddQueueAttributeDML

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

func (SQLTemplateForMySQL) NewCreateQueueAttributeDDL

func (SQLTemplateForMySQL) NewCreateQueueAttributeDDL() string

func (SQLTemplateForMySQL) NewCreateQueueDDL

func (SQLTemplateForMySQL) NewCreateQueueDDL(queueRawName string) string

func (SQLTemplateForMySQL) NewDeleteJobDML

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

func (SQLTemplateForMySQL) NewEnqueueJobDML

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

func (SQLTemplateForMySQL) NewEnqueueJobWithTimeDML

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

func (SQLTemplateForMySQL) NewFindJobDML

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

func (SQLTemplateForMySQL) NewFindJobsDML

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

func (SQLTemplateForMySQL) NewFindQueueAttributeDML

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

func (SQLTemplateForMySQL) NewHideJobDML

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

func (SQLTemplateForMySQL) NewUpdateJobByVisibilityTimeoutDML

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

func (SQLTemplateForMySQL) NewUpdateQueueAttributeDML

func (SQLTemplateForMySQL) 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