78
79
return s.bucket.SignedURL(name, time.Now().AddDate(10, 0, 0)), nil
81
92
// s3ErrorStatusCode returns the HTTP status of the S3 request error,
82
93
// if it is an error from an S3 operation, or 0 if it was not.
83
94
func s3ErrorStatusCode(err error) int {