MCPcopy
hub / github.com/bluele/gcache / LoaderFunc

FuncType LoaderFunc

cache.go:51–51  ·  view source on GitHub ↗
func(interface{}) (interface{}, error)

Source from the content-addressed store, hash-verified

49
50type (
51 LoaderFunc func(interface{}) (interface{}, error)
52 LoaderExpireFunc func(interface{}) (interface{}, *time.Duration, error)
53 EvictedFunc func(interface{}, interface{})
54 PurgeVisitorFunc func(interface{}, interface{})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…