Files
SQS-service/app/models/constants.go
T
Naeel c3ba2dcae4 chore: initial import from sless/shared-sqs (v0.1.14)
- Standalone SQS-service repository
- Multi-tenant message queue service, AWS SQS compatible
- Based on GoAws, with mutable tenants, auth, WebUI, Redis persistence
- Ready for independent development and deployment
- See doc/ and README.md for architecture and usage
2026-04-10 16:47:27 +03:00

39 lines
1.1 KiB
Go

package models
import (
"time"
)
var BaseXmlns = "http://queue.amazonaws.com/doc/2012-11-05/"
var BaseResponseMetadata = ResponseMetadata{RequestId: "00000000-0000-0000-0000-000000000000"}
var DeduplicationPeriod = 5 * time.Minute
var AvailableQueueAttributes = map[string]bool{
"DelaySeconds": true,
"MaximumMessageSize": true,
"MessageRetentionPeriod": true,
"Policy": true,
"ReceiveMessageWaitTimeSeconds": true,
"VisibilityTimeout": true,
"RedrivePolicy": true,
"RedriveAllowPolicy": true,
"ApproximateNumberOfMessages": true,
"ApproximateNumberOfMessagesDelayed": true,
"ApproximateNumberOfMessagesNotVisible": true,
"CreatedTimestamp": true,
"LastModifiedTimestamp": true,
"QueueArn": true,
}
const (
ProtocolSQS Protocol = "sqs"
ProtocolHTTP Protocol = "http"
ProtocolHTTPS Protocol = "https"
ProtocolDefault Protocol = "default"
)
const (
MessageStructureJSON MessageStructure = "json"
)