Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skelpo/S3Storage
A skelpo/Storage implementation for Amazon S3
https://github.com/skelpo/S3Storage
Last synced: 2 months ago
JSON representation
A skelpo/Storage implementation for Amazon S3
- Host: GitHub
- URL: https://github.com/skelpo/S3Storage
- Owner: skelpo
- License: mit
- Created: 2018-12-14T14:45:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T12:33:48.000Z (over 5 years ago)
- Last Synced: 2024-10-19T17:58:15.316Z (3 months ago)
- Language: Swift
- Size: 115 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Swift-Packages - S3Storage - A skelpo/Storage implementation for Amazon S3. (Storage)
README
# S3Storage
An implementation of [skelpo/Storage](https://github.com/skelpo/Storage) for Amazon S3. Uses the [LiveUI/S3](https://github.com/LiveUI/S3) package for interacting with the S3 API.
## Installing
Add the package declaration to your manifest's `dependencies` array with the [latest version](https://github.com/skelpo/S3Storage/releases/latest):
```swift
.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`:
```swift
try services.register(S3(defaultBucket: bucket, signer: signer), as: S3StorageClient.self)
```# API
You can find API documentation [here](http://www.skelpo.codes/S3Storage/).
# License
S3Storage is under the [MIT license agreement](https://github.com/skelpo/S3Storage/blob/master/LICENSE).