sqs

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 12 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) Close added in v1.11.0

func (a *AWSSQS) Close() error

func (*AWSSQS) GetComponentMetadata added in v1.11.0

func (a *AWSSQS) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*AWSSQS) Init

func (a *AWSSQS) Init(ctx context.Context, 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