//
pkg.gl
Category
github.com/flowline-io/flowbot
pkg
utils
heap
package
0.18.8
Repository:
https://github.com/flowline-io/flowbot.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
165 SLOC
#
Functions
New
New returns a Heap which can be used to queue up items to process.
NewWithRecorder
NewWithRecorder wraps an optional metricRecorder to compose a Heap object.
#
Structs
Heap
Heap is a producer/consumer queue that implements a heap data structure.
KeyError
KeyError will be returned any time a KeyFunc gives an error; it includes the object at fault.
#
Type aliases
KeyFunc
KeyFunc is a function type to get the key from an object.