authreq

package
v0.0.0-...-1f046af Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Overview

Implements the wrapper for versioned retryable DynamoDB requests. See the init() function below for details about initial conf file processing.

Index

Constants

View Source
const (
	// auth version numbers
	AUTH_V2 = 2
	AUTH_V4 = 4
)
View Source
const AUTH_VERSION = AUTH_V4

Stipulate the current authorization version.

Variables

This section is empty.

Functions

func RetryReqJSON_V4

func RetryReqJSON_V4(reqJSON []byte, amzTarget string) ([]byte, int, error)

RetryReq_V4 sends a retry-able request using a JSON serialized request and v4 auth. Uses the global conf.

func RetryReqJSON_V4WithConf

func RetryReqJSON_V4WithConf(reqJSON []byte, amzTarget string, c *conf.AWS_Conf) ([]byte, int, error)

RetryReq_V4 sends a retry-able request using a JSON serialized request and v4 auth. Uses a parameterized conf.

func RetryReq_V4

func RetryReq_V4(v ep.Endpoint, amzTarget string) ([]byte, int, error)

RetryReq_V4 sends a retry-able request using an ep.Endpoint structure and v4 auth. Uses the global conf.

func RetryReq_V4WithConf

func RetryReq_V4WithConf(v ep.Endpoint, amzTarget string, c *conf.AWS_Conf) ([]byte, int, error)

RetryReq_V4 sends a retry-able request using an ep.Endpoint structure and v4 auth. Uses a parameterized conf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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