1
0
mirror of https://github.com/minio/mc.git synced 2025-11-29 19:43:09 +03:00

Support for setting custom Transport in S3Client configuration (#3510)

This commit is contained in:
Lenin Alevski
2020-11-30 20:52:08 -08:00
committed by GitHub
parent 681cbb06de
commit c7989d06bc
2 changed files with 49 additions and 42 deletions

View File

@@ -19,6 +19,7 @@ package cmd
import (
"context"
"io"
"net/http"
"os"
"time"
@@ -194,6 +195,7 @@ type Config struct {
Debug bool
Insecure bool
Lookup minio.BucketLookupType
Transport *http.Transport
}
// SelectObjectOpts - opts entered for select API