Home / Type/ indexedHeap Type — fiber Architecture

indexedHeap Type — fiber Architecture

Architecture documentation for the indexedHeap type/interface in heap.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  944feb5c_544f_70f1_c373_d5ee5e9e8e18["indexedHeap"]
  3d770bf7_2194_403d_8a5c_5f3b497a029d["heap.go"]
  944feb5c_544f_70f1_c373_d5ee5e9e8e18 -->|defined in| 3d770bf7_2194_403d_8a5c_5f3b497a029d
  style 944feb5c_544f_70f1_c373_d5ee5e9e8e18 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/cache/heap.go lines 20–27

type indexedHeap struct {
	// Slice the heap is built on
	entries []heapEntry
	// Mapping "index" to position in heap slice
	indices []int
	// Max index handed out
	maxidx int
}

Frequently Asked Questions

What is the indexedHeap type?
indexedHeap is a type/interface in the fiber codebase, defined in middleware/cache/heap.go.
Where is indexedHeap defined?
indexedHeap is defined in middleware/cache/heap.go at line 20.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free