Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSSignV4 ¶
func AWSSignV4(headers map[string][]string, method string, theURL *url.URL, body []byte, service string, awsCreds AWSCredentials, theTime time.Time) map[string][]string
AWSSignV4 modifies a map[string][]string of headers to include an AWS V4 signature based on the config/credentials provided.
Types ¶
type AWSCredentials ¶
type AWSCredentials struct { AccessKey string SecretKey string RegionName string SessionToken string }
func AWSCredentialsFromObject ¶
func AWSCredentialsFromObject(v ast.Object) AWSCredentials
Click to show internal directories.
Click to hide internal directories.