package
4.2.0
Repository: https://github.com/eko/gocache.git
Documentation: pkg.go.dev

# Functions

NewMockMetricsInterface creates a new mock instance.
NewPrometheus initializes a new prometheus metric instance.
WithCodecChannel sets the prometheus codec channel.
WithNamespace sets the prometheus namespace.
WithRegisterer sets the prometheus registerer.

# Structs

MockMetricsInterface is a mock of MetricsInterface interface.
MockMetricsInterfaceMockRecorder is the mock recorder for MockMetricsInterface.
Prometheus represents the prometheus struct for collecting metrics.

# Interfaces

MetricsInterface represents the metrics interface for all available providers.

# Type aliases

PrometheusOption is a type for defining Prometheus options.