Swiftpack.co - Package - skelpo/S3Storage

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.

Github

link
Stars: 3
Help us keep the lights on

Dependencies

Releases

0.1.0 - Dec 14, 2018

S3 Storage

S3Storage is a fully implemented version of the Storage protocol. Check out the docs and tests for usage.