listener

package
v0.0.0-...-5178349 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 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 SQSHandler

type SQSHandler interface {
	Handle(*sqs.Message) error
}

type SQSListener

type SQSListener struct {
	Handler SQSHandler
	// contains filtered or unexported fields
}

func BuildSQSListener

func BuildSQSListener(handler SQSHandler, pollInterval time.Duration, client sqsiface.SQSAPI) *SQSListener

func (*SQSListener) Close

func (l *SQSListener) Close()

func (*SQSListener) Listen

func (l *SQSListener) Listen(qName string)

Jump to

Keyboard shortcuts

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