s3Handler is used for 's3:' and 'minio:' URI schemes.
| 247 | |
| 248 | // s3Handler is used for 's3:' and 'minio:' URI schemes. |
| 249 | type s3Handler struct { |
| 250 | bucketName string |
| 251 | objectPrefix string |
| 252 | creds *x.MinioCredentials |
| 253 | uri *url.URL |
| 254 | mc *x.MinioClient |
| 255 | } |
| 256 | |
| 257 | // NewS3Handler creates a new session, checks valid bucket at uri.Path, and configures a |
| 258 | // minio client. It also fills in values used by the handler in subsequent calls. |
nothing calls this directly
no outgoing calls
no test coverage detected