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 // Priority returns the priority level used to sort the item Priority() int64 // Body returns the payload associated with the item Body() []byte // Context returns any meta-information associated with the item Context() ([]byte, error) }
Item represents a binary heap item
Click to show internal directories.
Click to hide internal directories.