queue

package
v0.0.0-...-b2d4b5a Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SNS_CONTENT_TYPE_KEY              = "CLAIR.CONTENTTYPE"
	SNS_CONTENT_TYPE_VALUE_JSON       = "application/json"
	SNS_CONTENT_TYPE_VALUE_BASE64GZIP = "application/base64gzip"
	MAX_MESSAGE_SIZE                  = 250 * 1024 // some metadata overhead to 256k
)

Variables

This section is empty.

Functions

func ProcessMessages

func ProcessMessages(sqsService *sqs.SQS, sqsQueueUrl string, messageProcessor func(msgid, msg string) error)

func SendNotification

func SendNotification(snsService *sns.SNS, snsTopicArn string, json []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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