sqs

package
Version: v0.0.0-...-67f6ddb Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sqs - simple for sqs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchOutput

type BatchOutput struct {
	Output *sqs.SendMessageBatchOutput
	Error  error
}

BatchOutput struct

type SQS

type SQS struct {
	// contains filtered or unexported fields
}

SQS struct

func New

func New(AWSID, AWSKEY, Region, URL string) *SQS

New to new a sqs.

func (SQS) Delete

func (s SQS) Delete(ReceiptHandle *string) (*sqs.DeleteMessageOutput, error)

Delete to delete a queue message.

func (SQS) PurgeQueue

func (s SQS) PurgeQueue() (*sqs.PurgeQueueOutput, error)

PurgeQueue to purge queue all messages.

func (SQS) Receive

func (s SQS) Receive(Visibility int64) (*sqs.ReceiveMessageOutput, error)

Receive to receive a queue message.

func (SQS) Send

func (s SQS) Send(Body string) (*sqs.SendMessageOutput, error)

Send to send a queue message.

func (SQS) SendBatch

func (s SQS) SendBatch(Bodies []string) []*BatchOutput

SendBatch to split Bodies into batch messages and send.

Source Files

Jump to

Keyboard shortcuts

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