sqs

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 NewAWSSQS

func NewAWSSQS(logger logger.Logger) *AWSSQS

NewAWSSQS returns a new AWS SQS instance

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(handler func(*bindings.ReadResponse) ([]byte, error)) error

Jump to

Keyboard shortcuts

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