frostfs-s3-gw/api/auth/signer/v4/request_context_go1.7.go

15 lines
177 B
Go
Raw Normal View History

//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()
}