tasks

package
v0.0.0-...-b6c570c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2015 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

Manages signing tasks required by AWS Auth v4 requests to DynamoDB. See http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html for more information on v4 signed requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalRequest

func CanonicalRequest(host, port, amzDateHdr, amzTargetHdr, hexPayload string) string

CanonicalRequest will create the aws v4 `canonical request`. May be useful for creating v4 requests for services other than DynamoDB.

func MakeSignature

func MakeSignature(string2sign, zone, service, secret string) string

MakeSignature returns a auth_v4 signature from the `string to sign` variable. May be useful for creating v4 requests for services other than DynamoDB.

func String2Sign

func String2Sign(t time.Time, canonical_request, zone, service string) string

String2Sign will create the aws v4 `string to sign` from the `canoncial request`. May be useful for creating v4 requests for services other than DynamoDB.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL