package
0.0.0-20241029040836-37d1161ba509
Repository: https://github.com/abmpio/libx.git
Documentation: pkg.go.dev
# Functions
NewExpiryHeap creates and returns a new EntryHeap.
# Constants
NotIndexed indicates that the entry does not exist in the heap.
# Structs
Entry in the ExpiryHeap, tracks the index and expiry time of an item in a ttl cache.
ExpiryHeap is a heap that is ordered by the expiry time of entries.
Timer provides a channel to block on.