Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue interface {
plugin.Plugin
// Initialize creates the queue.
Initialize() error
// Enqueue a inputEvent into the queue.
Enqueue(event *v1.SniffData) error
// Dequeue returns a SequenceEvent when Queue is not empty,
Dequeue() (*SequenceEvent, error)
// Close would close the queue.
Close() error
// Ack the lastOffset
Ack(lastOffset event.Offset)
}
Queue is a plugin interface, that defines new queues.
Click to show internal directories.
Click to hide internal directories.