S3 for Afero
This is a simple S3 backend for Afero.
Usage
Create the backend like this:
fs, err := aferos3.NewS3Fs(aferos3.S3FsConfig{
AccessKey: "your-access-key",
SecretKey: "your-secret-key",
Bucket: "your-bucket",
})
If you would like to use a different S3-compatible server, provide BaseEndpoint. For example, set it to https://ams3.digitaloceanspaces.com if you are using Digital Ocean's Spaces on the Amsterdam region.