Skip to content

Commit

Permalink
Merge pull request #14 from lluuaapp/master
Browse files Browse the repository at this point in the history
Added hint to custom server in Readme
  • Loading branch information
rafiki270 authored Sep 10, 2018
2 parents 82a9c6c + 7e31351 commit 9a7e7aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ Register S3Client as a service in your configure method
try services.register(s3: S3Signer.Config(...), defaultBucket: "my-bucket")
```

to use a custom Minio server, use this Config/Region:

```
S3Signer.Config(accessKey: accessKey,
secretKey: secretKey,
region: Region(name: RegionName.usEast1,
hostName: "127.0.0.1:9000",
useTLS: false)
```

use S3Client

```swift
Expand Down

0 comments on commit 9a7e7aa

Please sign in to comment.