MCPcopy
hub / github.com/minio/minio-go / SetS3TransferAccelerate

Method SetS3TransferAccelerate

api.go:408–412  ·  view source on GitHub ↗

SetS3TransferAccelerate - turns s3 accelerated endpoint on or off for all your requests. This feature is only specific to S3 for all other endpoints this function does nothing. To read further details on s3 transfer acceleration please vist - http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-a

(accelerateEndpoint string)

Source from the content-addressed store, hash-verified

406// please vist -
407// http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
408func (c *Client) SetS3TransferAccelerate(accelerateEndpoint string) {
409 if s3utils.IsAmazonEndpoint(*c.endpointURL) {
410 c.s3AccelerateEndpoint = accelerateEndpoint
411 }
412}
413
414// SetS3EnableDualstack turns s3 dual-stack endpoints on or off for all requests.
415// The feature is only specific to S3 and is on by default. To read more about

Callers 1

mainFunction · 0.80

Calls 1

IsAmazonEndpointFunction · 0.92

Tested by

no test coverage detected