Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HkConfigDefault = HkConfig{
Workers: 1,
Width: 2048,
Depth: 5,
Decay: 0.9,
}
HkConfigDefault is standard config.
Functions ¶
Types ¶
type List ¶
type List []Item
List is list of top items.
func GetListFromHK ¶
func GetListFromHK(k uint32, hk *heavykeeper.TopK) List
GetListFromHK return List from heavykeeper's []minheap.Node. So we can forget about heavykeeper and work with it`s results.
Click to show internal directories.
Click to hide internal directories.