sqs

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FIFTEEN_MINUTES = (15 * time.Minute)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sqs

type Sqs struct {
	// contains filtered or unexported fields
}

func (*Sqs) Disconnect

func (this *Sqs) Disconnect() error

func (Sqs) Healthy

func (this Sqs) Healthy(ctx context.Context) error

func (*Sqs) Init

func (this *Sqs) Init(queues []string) (err error)

func (Sqs) MaxConcurrentDrainWorkers added in v3.0.9

func (this Sqs) MaxConcurrentDrainWorkers() int

func (Sqs) Pop

func (this Sqs) Pop(ctx context.Context, queueName string, handler types.Handler) error

func (Sqs) Publish

func (this Sqs) Publish(ctx context.Context, queueName string, payload *types.Task) error

func (Sqs) Purge

func (this Sqs) Purge(ctx context.Context, queueName string) error

func (Sqs) PurgeMatching

func (this Sqs) PurgeMatching(ctx context.Context, queueName, substr string) error

func (Sqs) Subscribe

func (this Sqs) Subscribe(ctx context.Context, queueName string, handler types.Handler) (err error)

func (Sqs) Suck added in v3.0.9

func (this Sqs) Suck(ctx context.Context, queueName string, handler types.Handler) (err error)

Jump to

Keyboard shortcuts

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