MCPcopy Create free account
hub / github.com/Creatly/creatly-backend / MemoryCache

Struct MemoryCache

pkg/cache/memory.go:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type MemoryCache struct {
18 cache map[interface{}]*item
19 sync.RWMutex
20}
21
22// NewMemoryCache uses map to store key:value data in-memory.
23func NewMemoryCache() *MemoryCache {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected