gosqs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 12 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidParameterValue = &app.SqsErrorType{
		HttpError: http.StatusBadRequest,
		Type:      "InvalidParameterValue",
		Code:      "AWS.SimpleQueueService.InvalidParameterValue",
		Message:   "An invalid or out-of-range value was supplied for the input parameter.",
	}
	ErrInvalidAttributeValue = &app.SqsErrorType{
		HttpError: http.StatusBadRequest,
		Type:      "InvalidAttributeValue",
		Code:      "AWS.SimpleQueueService.InvalidAttributeValue",
		Message:   "Invalid Value for the parameter RedrivePolicy.",
	}
)

Functions

func ChangeMessageVisibility

func ChangeMessageVisibility(w http.ResponseWriter, req *http.Request)

func CreateQueue

func CreateQueue(w http.ResponseWriter, req *http.Request)

func DeleteMessage

func DeleteMessage(w http.ResponseWriter, req *http.Request)

func DeleteMessageBatch

func DeleteMessageBatch(w http.ResponseWriter, req *http.Request)

func DeleteQueue

func DeleteQueue(w http.ResponseWriter, req *http.Request)

func GetQueueAttributes

func GetQueueAttributes(w http.ResponseWriter, req *http.Request)

func GetQueueUrl

func GetQueueUrl(w http.ResponseWriter, req *http.Request)

func ListQueues

func ListQueues(w http.ResponseWriter, req *http.Request)

func PeriodicTasks

func PeriodicTasks(d time.Duration, quit <-chan struct{})

func PurgeQueue

func PurgeQueue(w http.ResponseWriter, req *http.Request)

func ReceiveMessage

func ReceiveMessage(w http.ResponseWriter, req *http.Request)

func SendMessage

func SendMessage(w http.ResponseWriter, req *http.Request)

func SendMessageBatch

func SendMessageBatch(w http.ResponseWriter, req *http.Request)

func SetQueueAttributes

func SetQueueAttributes(w http.ResponseWriter, req *http.Request)

Types

type DeleteEntry

type DeleteEntry struct {
	Id            string
	ReceiptHandle string
	Error         string
	Deleted       bool
}

type SendEntry

type SendEntry struct {
	Id                     string
	MessageBody            string
	MessageAttributes      map[string]app.MessageAttributeValue
	MessageGroupId         string
	MessageDeduplicationId string
}

Jump to

Keyboard shortcuts

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