MCPcopy Index your code
hub / github.com/SpectoLabs/hoverfly / LRUFastCache

Struct LRUFastCache

core/cache/lru_fastcache.go:8–10  ·  view source on GitHub ↗

Fixed size LRU cache for storing any data type

Source from the content-addressed store, hash-verified

6
7// Fixed size LRU cache for storing any data type
8type LRUFastCache struct {
9 cache *lru.Cache
10}
11
12func NewDefaultLRUCache() *LRUFastCache {
13 c, _ := lru.New(1000)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected