Go to file
Caleb Kleveter 47b8dad3ac
Updated API and implementation for S3 4 alpha and NIO 2
2019-07-12 07:29:52 -05:00
Sources/S3Storage Updated API and implementation for S3 4 alpha and NIO 2 2019-07-12 07:29:52 -05:00
Tests Updated API and implementation for S3 4 alpha and NIO 2 2019-07-12 07:29:52 -05:00
docs Generated API documentation 2018-12-14 08:47:09 -06:00
.gitignore Updated API and implementation for S3 4 alpha and NIO 2 2019-07-12 07:29:52 -05:00
LICENSE Created LICENSE 2018-12-14 08:47:41 -06:00
Package.resolved Updated API and implementation for S3 4 alpha and NIO 2 2019-07-12 07:29:52 -05:00
Package.swift Updated API and implementation for S3 4 alpha and NIO 2 2019-07-12 07:29:52 -05:00
README.md Fixed API documentation link 2018-12-14 08:59:07 -06:00

README.md

S3Storage

An implementation of skelpo/Storage for Amazon S3. Uses the LiveUI/S3 package for interacting with the S3 API.

Installing

Add the package declaration to your manifest's dependencies array with the latest version:

.package(url: "https://github.com/skelpo/S3Storage.git", from: "0.1.0")

Then run swift package update and regenerate your Xcode project (if you have one).

Configuration

Create and register an S3Signer instance with your app's services. Then register an S3 instance (or another implementation of S3StorageClient) as S3StorageClient:

try services.register(S3(defaultBucket: bucket, signer: signer), as: S3StorageClient.self)

API

You can find API documentation here.

License

S3Storage is under the MIT license agreement.