MCPcopy
hub / github.com/usememos/memos / Close

Method Close

store/cache/cache.go:31–31  ·  view source on GitHub ↗

Close stops all background tasks and releases resources.

()

Source from the content-addressed store, hash-verified

29
30 // Close stops all background tasks and releases resources.
31 Close() error
32}
33
34// item represents a cached value with metadata.

Callers 15

TestCacheBasicOperationsFunction · 0.65
TestCacheEvictionFunction · 0.65
TestCacheConcurrencyFunction · 0.65
TestEvictionCallbackFunction · 0.65
TestInboxStoreFunction · 0.65
TestInboxListByIDFunction · 0.65
TestInboxListBySenderIDFunction · 0.65
TestInboxListByStatusFunction · 0.65
TestInboxListPaginationFunction · 0.65
TestInboxMessagePayloadFunction · 0.65

Implementers 1

Cachestore/cache/cache.go

Calls

no outgoing calls

Tested by 15

TestCacheBasicOperationsFunction · 0.52
TestCacheEvictionFunction · 0.52
TestCacheConcurrencyFunction · 0.52
TestEvictionCallbackFunction · 0.52
TestInboxStoreFunction · 0.52
TestInboxListByIDFunction · 0.52
TestInboxListBySenderIDFunction · 0.52
TestInboxListByStatusFunction · 0.52
TestInboxListPaginationFunction · 0.52
TestInboxMessagePayloadFunction · 0.52