MCPcopy
hub / github.com/loong/go-concurrency-exercises / KeyStoreCacheLoader

Interface KeyStoreCacheLoader

2-race-in-cache/main.go:20–23  ·  view source on GitHub ↗

KeyStoreCacheLoader is an interface for the KeyStoreCache

Source from the content-addressed store, hash-verified

18
19// KeyStoreCacheLoader is an interface for the KeyStoreCache
20type KeyStoreCacheLoader interface {
21 // Load implements a function where the cache should gets it's content from
22 Load(string) string
23}
24
25type page struct {
26 Key string

Callers

nothing calls this directly

Implementers 1

Loader2-race-in-cache/main.go

Calls

no outgoing calls

Tested by

no test coverage detected