Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultAlgorithm used for AWS V4 Signed
DefaultAlgorithm = "AWS4-HMAC-SHA256"
)
Variables ¶
This section is empty.
Functions ¶
func WithCredentialsValue ¶
func WithCredentialsValue(value *credentials.Value) func(*Signer)
Add credentials value as option
Types ¶
type Signer ¶
type Signer struct { Region string Credentials *credentials.Credentials Service string }
AWS V4 Signer
func (*Signer) GetSignedURL ¶
func (s *Signer) GetSignedURL(endpoint string, queryParams signer.QueryParams, date *time.Time) (string, error)
GetSignedURL function that sign input url, input query params and input date
Click to show internal directories.
Click to hide internal directories.