SignV4 sign the request before Do(), in accordance with http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html.
(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string)
| 406 | // SignV4 sign the request before Do(), in accordance with |
| 407 | // http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html. |
| 408 | func SignV4(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string) *http.Request { |
| 409 | return signV4(req, accessKeyID, secretAccessKey, sessionToken, location, ServiceTypeS3, nil) |
| 410 | } |
| 411 | |
| 412 | // SignV4Express sign the request before Do(), in accordance with |
| 413 | // http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html. |