awssqs

package
v0.0.0-...-4b5ebc9 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(awsprofile, awsregion *string) *sqs.SQS

NewSession creates new AWS sessions with only limited parameters specified. Configuration migth be overwritten by environment variables. Please refer to AWS GO SDK

Types

type Message

type Message struct {
	Body          []byte
	ReceiptHandle string
}

Message type contains exported fields

func New

func New() *Message

New returns pointer to a new Message

func (*Message) GetSingleMessage

func (msg *Message) GetSingleMessage(sqsSession *sqs.SQS, queueURL *string)

GetSingleMessage function returns single message from specified SQS queue

Jump to

Keyboard shortcuts

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