get_queue_attributes

package
v0.0.0-...-a3e95bc Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttrAll                                   = "All"
	AttrApproximateNumberOfMessages           = "ApproximateNumberOfMessages"
	AttrApproximateNumberOfMessagesNotVisible = "ApproximateNumberOfMessagesNotVisible"
	AttrApproximateNumberOfMessagesDelayed    = "ApproximateNumberOfMessagesDelayed"

	AttrVisibilityTimeout     = "VisibilityTimeout"
	AttrDelaySeconds          = "DelaySeconds"
	AttrCreatedTimestamp      = "CreatedTimestamp"
	AttrLastModifiedTimestamp = "LastModifiedTimestamp"

	AttrMaximumMessageSize            = "MaximumMessageSize"
	AttrMessageRetentionPeriod        = "MessageRetentionPeriod"
	AttrReceiveMessageWaitTimeSeconds = "ReceiveMessageWaitTimeSeconds"
	AttrQueueArn                      = "QueueArn"
	AttrRedrivePolicy                 = "RedrivePolicy"
)

Variables

This section is empty.

Functions

func GetQueueAttributes

func GetQueueAttributes(pq *pqueue.PQueue, sqsQuery *urlutils.SQSQuery) sqs_response.SQSResponse

Types

type GetQueueAttributesResponse

type GetQueueAttributesResponse struct {
	XMLName    xml.Name `xml:"http://queue.amazonaws.com/doc/2012-11-05/ GetQueueAttributesResponse"`
	Attributes []*QAttr `xml:"GetQueueAttributesResult>Attribute,omitempty"`
	RequestId  string   `xml:"ResponseMetadata>RequestId"`
}

func (*GetQueueAttributesResponse) BatchResult

func (r *GetQueueAttributesResponse) BatchResult(docId string) interface{}

func (*GetQueueAttributesResponse) HttpCode

func (r *GetQueueAttributesResponse) HttpCode() int

func (*GetQueueAttributesResponse) XmlDocument

func (r *GetQueueAttributesResponse) XmlDocument() string

type QAttr

type QAttr struct {
	Name  string      `xml:"Name"`
	Value interface{} `xml:"Value"`
}

Jump to

Keyboard shortcuts

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