Swiftpack.co - skelpo/S3Storage as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by skelpo.
skelpo/S3Storage 1.0.0-alpha.1
A skelpo/Storage implementation for Amazon S3
⭐️ 4
🕓 4 years ago
.package(url: "https://github.com/skelpo/S3Storage.git", from: "1.0.0-alpha.1")

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: 4
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

v0.1.0
5 years ago

S3 Storage

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

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics