Files
SQS-service/app/interfaces/interfaces.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

29 lines
502 B
Go

package interfaces
import (
"net/url"
"shared-sqs/app/models"
)
type AbstractRequestBody interface {
SetAttributesFromForm(values url.Values)
}
type AbstractResponseBody interface {
GetResult() interface{}
GetRequestId() string
}
type AbstractErrorResponse interface {
Response() models.ErrorResult
StatusCode() int
}
type AbstractPublishEntry interface {
GetMessage() string
GetMessageAttributes() map[string]models.MessageAttribute
GetMessageStructure() string
GetSubject() string
}