amzsqs

package
v0.0.0-...-b4d1232 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFifoQueue

func NewFifoQueue(opts *Options) (amboy.Queue, error)

NewFifoQueue constructs a AWS SQS backed Queue implementation. This queue, generally is ephemeral: tasks are removed from the queue, and therefore may not handle jobs across restarts.

Types

type Options

type Options struct {
	Name       string
	Region     string
	NumWorkers int
	Logger     grip.Journaler
}

Options holds the creation options. If region is not specified, it defaults to "us-east-1" and if the journaler is not specified, the global journal is used.

func (*Options) Validate

func (opts *Options) Validate() error

Jump to

Keyboard shortcuts

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