Skip to content

S3 Backend

The S3 backend has been moved to a separate package to keep omnistorage-core lightweight.

Installation

The S3 backend is available in the omni-aws package:

go get github.com/plexusone/omni-aws/omnistorage/s3

Usage

import "github.com/plexusone/omni-aws/omnistorage/s3"

backend, err := s3.New(s3.Config{
    Bucket: "my-bucket",
    Region: "us-east-1",
})
defer backend.Close()

Supported Services

The omni-aws S3 backend supports:

  • AWS S3
  • Cloudflare R2
  • MinIO
  • Wasabi
  • DigitalOcean Spaces
  • Other S3-compatible services

See Also

  • omni-aws - AWS backends including S3, DynamoDB
  • omni-google - Google Cloud backends including GCS, Drive