...
Package middleware
import "github.com/docker/distribution/registry/storage/driver/middleware/cloudfront"
- Overview
- Index
Package middleware - cloudfront wrapper for storage libs
N.B. currently only works with S3, not arbitrary sites
S3BucketKeyer is any type that is capable of returning the S3 bucket key
which should be cached by AWS CloudFront.
type S3BucketKeyer interface {
S3BucketKey(path string) string
}