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

Struct cache

internal/s3cache/s3cache.go:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type cache struct {
26 *s3.S3
27 bucket, prefix string
28}
29
30func (c *cache) Get(key string) ([]byte, bool) {
31 key = path.Join(c.prefix, keyToFilename(key))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected