Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidationQueueMessageParser ¶
func InvalidationQueueMessageParser(rawMessage types.Message) (dedup.QueueMessage, error)
Types ¶
type InvalidationQueueMessage ¶
type InvalidationQueueMessage struct { Data InvalidationQueueMessageData `json:"data"` // contains filtered or unexported fields }
func (InvalidationQueueMessage) MessageID ¶
func (m InvalidationQueueMessage) MessageID() string
func (InvalidationQueueMessage) ReceiptHandle ¶
func (m InvalidationQueueMessage) ReceiptHandle() string
func (InvalidationQueueMessage) UniqueID ¶
func (m InvalidationQueueMessage) UniqueID() string
type InvalidationQueueMessageData ¶
type InvalidationQueueMessageData struct {
UUID string `json:"uuid"`
}
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func NewQueue ¶
func NewQueue(queueConfig *QueueConfig) *Queue
func (*Queue) DeleteMessagesBatch ¶
func (*Queue) PullMessagesBatch ¶
func (q *Queue) PullMessagesBatch() ([]dedup.QueueMessage, error)
func (*Queue) ResetVisibilityBatch ¶
type QueueConfig ¶
Click to show internal directories.
Click to hide internal directories.