Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item interface { // ID returns a unique identifier for the item ID() string // GroupID returns the group associated with the item, used to remove all items with the same groupID GroupID() string // Priority returns the priority level used to sort the item Priority() int64 }
Item interface represents the base meta-information which any priority queue message must have
Click to show internal directories.
Click to hide internal directories.