Versions in this module Expand all Collapse all v0 v0.1.0 Feb 18, 2020 Changes in this version + func CanonicalizeURIPath(uriPath string) (string, error) + func IsRFC3986Unreserved(c byte) bool + func NormalizeQueryParameters(queryString string) (map[string][]string, error) + func NormalizeURIPathComponent(pathComponent string) (string, error) + type Request struct + Body string + Headers map[string][]string + QueryString string + Region string + RequestMethod string + Service string + URIPath string + func (r *Request) GetAccessKey() (string, error) + func (r *Request) GetAuthorizationHeaderParameters() (map[string]string, error) + func (r *Request) GetBodyDigest() string + func (r *Request) GetCanonicalQueryString() (string, error) + func (r *Request) GetCanonicalRequest() ([]byte, error) + func (r *Request) GetCanonicalizedURIPath() (string, error) + func (r *Request) GetContentTypeAndCharset() (contentType string, charset string, err error) + func (r *Request) GetCredentialScope() (string, error) + func (r *Request) GetExpectedSignature(secretKeyFn func(string, string) (string, error)) (string, error) + func (r *Request) GetRequestSignature() (string, error) + func (r *Request) GetRequestTimestamp() (time.Time, error) + func (r *Request) GetSessionToken() (string, error) + func (r *Request) GetSignedHeaders() ([]SignedHeader, error) + func (r *Request) GetStringToSign() (string, error) + func (r *Request) Verify(secretKeyFn func(string, string) (string, error), ...) error + func (r *Request) VerifyAt(secretKeyFn func(string, string) (string, error), serverTimestamp time.Time, ...) error + type SignedHeader struct + Name string + Value string