# Functions
No description provided by the author
No description provided by the author
NewMapWithExpiry automatically starts a sweeper to enforce the maps TTL.
NewMetricCalculator Creates a metric calculator that enforces a five-minute time to live on cache entries.
# Structs
No description provided by the author
MapWithExpiry act like a map which provides a method to clean up expired entries.
MetricCalculator is a calculator used to adjust metric values based on its previous record.
No description provided by the author
# Type aliases
CalculateFunc defines how to process metric values by the calculator.