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

Method Set

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

Set caches the provided data.

(key string, data []byte)

Source from the content-addressed store, hash-verified

11
12 // Set caches the provided data.
13 Set(key string, data []byte)
14
15 // Delete deletes the cached data at the specified key.
16 Delete(key string)

Callers 7

TestAllowedFunction · 0.65
TestReferrerMatchesFunction · 0.65
newImageFunction · 0.65
updateCacheHeadersMethod · 0.65
serveImageMethod · 0.65
TestNopCacheFunction · 0.65
updateFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 4

TestAllowedFunction · 0.52
TestReferrerMatchesFunction · 0.52
newImageFunction · 0.52
TestNopCacheFunction · 0.52