sqs

package
v0.0.0-...-b2d37d7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: NCSA Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConcurrentHandlerCount = 1
	DefaultSubscriptionTimeout    = int64(5) // second
)

DefaultConcurrentHandlerCount ...

View Source
var (
	Config = &sqsConfig{
		done: make(chan struct{}),
	}
)

Config ...

Functions

func ConcurrentHandlerCount

func ConcurrentHandlerCount(n int) broker.SubscribeOption

ConcurrentHandlerCount ...

func MaxInFlight

func MaxInFlight(n int) broker.Option

MaxInFlight ...

func New

func New(opts ...broker.Option) (broker.Broker, error)

New ...

func QueueName

func QueueName(q string) broker.Option

QueueName ...

func Session

func Session(sess *session.Session) broker.Option

Session ...

func SubscriptionTimeout

func SubscriptionTimeout(d time.Duration) broker.SubscribeOption

SubscriptionTimeout ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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