MCPcopy
hub / github.com/gofiber/fiber / Len

Method Len

middleware/cache/heap.go:30–32  ·  view source on GitHub ↗

Len implements heap.Interface by reporting the number of entries in the heap.

()

Source from the content-addressed store, hash-verified

28
29// Len implements heap.Interface by reporting the number of entries in the heap.
30func (h indexedHeap) Len() int {
31 return len(h.entries)
32}
33
34// Less implements heap.Interface and orders entries by expiration time.
35func (h indexedHeap) Less(i, j int) bool {

Callers 3

putMethod · 0.95
NewFunction · 0.95

Calls

no outgoing calls

Tested by 1