MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / memoryCache

Struct memoryCache

api/pkg/cache/memory_cache.go:14–17  ·  view source on GitHub ↗

memoryCache is the Cache implementation in memory

Source from the content-addressed store, hash-verified

12
13// memoryCache is the Cache implementation in memory
14type memoryCache struct {
15 tracer telemetry.Tracer
16 store *ttlCache.Cache
17}
18
19// NewMemoryCache creates a new instance of memoryCache
20func NewMemoryCache(tracer telemetry.Tracer, store *ttlCache.Cache) Cache {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected