sqs

package
v0.0.0-...-29f8316 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueueProvider

func NewQueueProvider(options ...Option) goevents.QueueProvider

Types

type Option

type Option func(conf *conf)

func WithAwsConfig

func WithAwsConfig(awsConf *aws.Config) Option

func WithMappingSNSMessageEnabled

func WithMappingSNSMessageEnabled() Option

If the events from the SQS queue are sourced from SNS, setting this option will automatically extract the SNS message as event's body.

func WithReceiveMaxNumberOfMessage

func WithReceiveMaxNumberOfMessage(i int) Option

func WithReceiveWaitTimeSeconds

func WithReceiveWaitTimeSeconds(i int) Option

Jump to

Keyboard shortcuts

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