MCPcopy
hub / github.com/willnorris/imageproxy / Get

Method Get

cache.go:10–10  ·  view source on GitHub ↗

Get retrieves the cached data for the provided key.

(key string)

Source from the content-addressed store, hash-verified

8type Cache interface {
9 // Get retrieves the cached data for the provided key.
10 Get(key string) (data []byte, ok bool)
11
12 // Set caches the provided data.
13 Set(key string, data []byte)

Callers 11

exifOrientationFunction · 0.65
updateCacheHeadersMethod · 0.65
serveImageMethod · 0.65
referrerMatchesFunction · 0.65
should304Function · 0.65
RoundTripMethod · 0.65
TestNopCacheFunction · 0.65
NewFunction · 0.65
ParseCacheControlFunction · 0.65

Implementers 3

nopCachecache.go
cacheinternal/gcscache/gcscache.go
cacheinternal/s3cache/s3cache.go

Calls

no outgoing calls

Tested by 3

TestNopCacheFunction · 0.52