arqui456 / golang-aws-sqs

AWS SQS Helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang-aws-sqs

GitHub license

AWS SQS Helper - Provides functionality to send, receive, delete, purge messages. It also helps in processing messages and send them in batches to SQS.

There is a SQS queue poller as well which receives messages in batches from SQS queue and provides functionality to handle each message individually.

Refer to example/main.go, in order to get a better understanding of the usage of this helper.

AWS SQS Config

You will need to specify the following keys in order to connect to an AWS SQS queue.

var (
    accessKeyId     string = "xxxxxxxxxxxxxxxxx"
    secretKey       string = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    region          string = "xxxxxxxxxxxxxxxxx"
    queueName       string = "xxxxxxxxxxxxxxxxx"
)

Reference

About

AWS SQS Helper

License:MIT License


Languages

Language:Go 100.0%