Go to file
Caleb Kleveter 57d3e08265
Fixed API documentation link
2018-12-14 08:59:07 -06:00
Sources/S3Storage Pass full file path into .delete call in S3Storage.write(file:data:options:) 2018-12-14 08:43:39 -06:00
Tests Return the reletive file path from S3Storage.store(file:at:) instead of the full URL 2018-12-14 08:40:37 -06:00
docs Generated API documentation 2018-12-14 08:47:09 -06:00
.gitignore Generated API documentation 2018-12-14 08:47:09 -06:00
LICENSE Created LICENSE 2018-12-14 08:47:41 -06:00
Package.resolved Installed LiveUI/S3 package 2018-12-13 14:58:18 -06:00
Package.swift Installed LiveUI/S3 package 2018-12-13 14:58:18 -06: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.