Versions in this module Expand all Collapse all v0 v0.0.0 Oct 28, 2024 Changes in this version + const ISO8601BasicFormat + type RequestPresigner interface + SignUploadURL func(ctx context.Context, digest multihash.Multihash, size uint64, ttl uint64) (url.URL, http.Header, error) + VerifyUploadURL func(ctx context.Context, url url.URL, headers http.Header) (url.URL, http.Header, error) + type S3RequestPresigner struct + func NewS3RequestPresigner(accessKeyID string, secretAcessKey string, endpoint url.URL, bucketName string) (*S3RequestPresigner, error) + func (ss *S3RequestPresigner) SignUploadURL(ctx context.Context, digest multihash.Multihash, size uint64, ttl uint64) (url.URL, http.Header, error) + func (ss *S3RequestPresigner) VerifyUploadURL(ctx context.Context, requestURL url.URL, requestHeaders http.Header) (url.URL, http.Header, error)