Imports github.com/AdRoll/goamz/aws github.com/AdRoll/goamz/s3 github.com/docker/distribution/registry/storage/driver github.com/docker/distribution/registry/storage/driver/base github.com/docker/distribution/registry/storage/driver/factory Standard library imports bytes fmt io io/ioutil net/http strconv strings time