sqs

package
v1.9.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSSQS

func NewAWSSQS(logger logger.Logger) bindings.InputOutputBinding

NewAWSSQS returns a new AWS SQS instance.

Types

type AWSSQS

type AWSSQS struct {
	Client   *sqs.SQS
	QueueURL *string
	// contains filtered or unexported fields
}

AWSSQS allows receiving and sending data to/from AWS SQS.

func (*AWSSQS) Init

func (a *AWSSQS) Init(metadata bindings.Metadata) error

Init does metadata parsing and connection creation.

func (*AWSSQS) Invoke

func (*AWSSQS) Operations

func (a *AWSSQS) Operations() []bindings.OperationKind

func (*AWSSQS) Read

func (a *AWSSQS) Read(ctx context.Context, handler bindings.Handler) error

Jump to

Keyboard shortcuts

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