Versions in this module Expand all Collapse all v1 v1.0.0 May 29, 2024 Changes in this version + const SignTime + const SubResource + type NopSigner struct + func (*NopSigner) Sign(ctx context.Context, signingCtx *SigningContext) error + type Signer interface + Sign func(ctx context.Context, signingCtx *SigningContext) error + type SignerV1 struct + func (*SignerV1) IsSignedHeader(h string) bool + func (s *SignerV1) Sign(ctx context.Context, signingCtx *SigningContext) error + type SignerV4 struct + func (*SignerV4) IsSignedHeader(h string) bool + func (s *SignerV4) Sign(ctx context.Context, signingCtx *SigningContext) error + type SigningContext struct + AdditionalHeaders []string + AuthMethodQuery bool + Bucket *string + ClockOffset time.Duration + Credentials *credentials.Credentials + Key *string + Product *string + Region *string + Request *http.Request + SignedHeaders map[string]string + StringToSign string + SubResource []string + Time time.Time