sqs

package
v0.0.0-...-6afe028 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQS

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

SQS is a queue hosted on amazon AWS SQS.

func New

func New(queueName string, sess *session.Session) (*SQS, error)

New creates a new SQS Queue object.

func (*SQS) Listen

func (s *SQS) Listen(fn dispatch.Listenner) error

Listen to incomming messages form SQS.

func (*SQS) Purge

func (s *SQS) Purge() error

Purge the queue, removing all elements.

func (*SQS) SendBytes

func (s *SQS) SendBytes(bytes []byte) error

SendBytes to aws servers.

Jump to

Keyboard shortcuts

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