sqs

package
v0.0.0-...-96bfa84 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 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
}

AWSSQS allows receiving and sending data to/from AWS SQS

func NewAWSSQS

func NewAWSSQS() *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) Read

func (a *AWSSQS) Read(handler func(*bindings.ReadResponse) error) error

func (*AWSSQS) Write

func (a *AWSSQS) Write(req *bindings.WriteRequest) error

Jump to

Keyboard shortcuts

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