Versions in this module Expand all Collapse all v7 v7.0.71 Mar 22, 2024 Changes in this version + const ServiceTypeS3 + const ServiceTypeSTS + func GetCredential(accessKeyID, location string, t time.Time, serviceType string) string + func PostPresignSignatureV2(policyBase64, secretAccessKey string) string + func PostPresignSignatureV4(policyBase64 string, t time.Time, secretAccessKey, location string) string + func PreSignV2(req http.Request, accessKeyID, secretAccessKey string, expires int64, ...) *http.Request + func PreSignV4(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string, ...) *http.Request + func SignV2(req http.Request, accessKeyID, secretAccessKey string, virtualHost bool) *http.Request + func SignV4(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string) *http.Request + func SignV4STS(req http.Request, accessKeyID, secretAccessKey, location string) *http.Request + func SignV4Trailer(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string, ...) *http.Request + func StreamingSignV4(req *http.Request, accessKeyID, secretAccessKey, sessionToken, region string, ...) *http.Request + func StreamingUnsignedV4(req *http.Request, sessionToken string, dataLen int64, reqTime time.Time) *http.Request + type StreamingReader struct + func (s *StreamingReader) Close() error + func (s *StreamingReader) Read(buf []byte) (int, error) + type StreamingUSReader struct + func (s *StreamingUSReader) Close() error + func (s *StreamingUSReader) Read(buf []byte) (int, error)