package
Version:
v2.0.0-rc0
Opens a new window with list of versions in this module.
Published: Jan 2, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package metrics defines an interface valid for all caches.
type Interface interface {
SetCacheType(cacheType string)
CacheInsertInc()
CacheRemoveInc()
CacheMoveInc()
CacheGetEmptyInc()
CacheInsertEmptyInc()
CacheHitInc()
CacheMissInc()
CacheExpiredInc()
CacheMaxEntriesSet(maxEntries int)
}
Source Files
¶
Directories
¶
Package noop defines a No-op metric implementation for the cache.
|
Package noop defines a No-op metric implementation for the cache. |
Package prometheus defines a Prometheus metric implementation for the cache.
|
Package prometheus defines a Prometheus metric implementation for the cache. |
Click to show internal directories.
Click to hide internal directories.