sqs

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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

func (a *AWSSQS) Close() error

func (*AWSSQS) GetComponentMetadata

func (a *AWSSQS) GetComponentMetadata() map[string]string

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