forked from TrueCloudLab/frostfs-s3-gw
15 lines
177 B
Go
15 lines
177 B
Go
|
//go:build go1.7
|
||
|
// +build go1.7
|
||
|
|
||
|
package v4
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/aws/aws-sdk-go/aws"
|
||
|
)
|
||
|
|
||
|
func requestContext(r *http.Request) aws.Context {
|
||
|
return r.Context()
|
||
|
}
|