package
1.7.0
Repository: https://github.com/acronis/go-appkit.git
Documentation: pkg.go.dev

# Functions

New creates a new LRUCache with the provided maximum number of entries.
NewPrometheusMetrics creates a new instance of PrometheusMetrics with default options.
NewPrometheusMetricsWithOpts creates a new instance of PrometheusMetrics with the provided options.

# Structs

LRUCache represents an LRU cache with eviction mechanism and Prometheus metrics.
PrometheusMetrics represents a Prometheus metrics for the cache.
PrometheusMetricsOpts represents options for PrometheusMetrics.

# Interfaces

MetricsCollector represents a collector of metrics to analyze how (effectively or not) cache is used.