Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deduplicator ¶
type Deduplicator struct {
// contains filtered or unexported fields
}
func NewDeduplicator ¶
func NewDeduplicator(config *DeduplicatorConfig) *Deduplicator
func (*Deduplicator) Run ¶
func (d *Deduplicator) Run()
func (*Deduplicator) RunForever ¶
func (d *Deduplicator) RunForever(secondsToSleepBetweenRuns int)
type DeduplicatorConfig ¶
type Deleter ¶
type Deleter struct {
// contains filtered or unexported fields
}
func NewDeleter ¶
func (*Deleter) SetDeleteChannel ¶
type Puller ¶
type Puller struct {
// contains filtered or unexported fields
}
func (*Puller) MessagesExist ¶
type Queue ¶
type Queue interface { PullMessagesBatch() ([]QueueMessage, error) DeleteMessagesBatch(receiptHandles []string) ResetVisibilityBatch(receiptHandles []string) }
type QueueMessage ¶
type SharedState ¶
type SharedState struct {
// contains filtered or unexported fields
}
func NewSharedState ¶
func NewSharedState(keepMessages map[string]QueueMessage, deleteMessages map[string]struct{}) *SharedState
func (*SharedState) DeleteMessagesLen ¶
func (s *SharedState) DeleteMessagesLen() int
func (*SharedState) KeepMessagesLen ¶
func (s *SharedState) KeepMessagesLen() int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.