Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanonRequest ¶
type CanonRequest struct { // ecs Creds *ecs.Credentials Region string Service string // contains filtered or unexported fields }
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
func CreateCanonRequest ¶
func CreateCanonRequest(req *http.Request, payload []byte, crTemplate CanonRequest) *CanonRequest
func (*CanonRequest) AuthHeader ¶
func (cr *CanonRequest) AuthHeader() string
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#add-signature-to-request
func (*CanonRequest) RequestString ¶
func (cr *CanonRequest) RequestString() string
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#create-canonical-request
func (*CanonRequest) SignatureV4 ¶
func (cr *CanonRequest) SignatureV4() string
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#calculate-signature
func (*CanonRequest) StringToSignV4 ¶
func (cr *CanonRequest) StringToSignV4() string
https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#create-string-to-sign
Click to show internal directories.
Click to hide internal directories.