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 }