type
Backend
type Backend struct {
endpoint *url.URL
region, bucket, access, secret string
client *http.Client
maxSpoolBytes int64
spoolDirectory string
now func() time.Time
}An S3 storage and URL-signing backend.
Methods
Backend.Ping()Verify bucket reachability and credentials with HEAD, without listing or mutating objects.
Backend.Put()Upload a size-checked object using a SigV4 payload hash.
Backend.Open()Open an object stream and response metadata.
Backend.Delete()Delete an object.
Backend.List()List one bounded S3 continuation page under a prefix.
Backend.SignedURL()Create a SigV4 GET URL for a private object.