shared-sqs: Этап 1 — клон GoAWS, удаление SNS, go build OK

This commit is contained in:
Naeel
2026-04-09 12:25:02 +03:00
parent d1d1bffd7c
commit f4352a17b1
58 changed files with 9688 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
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
}