gaws

package module
v0.0.0-...-cc1fde1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2014 License: MIT Imports: 7 Imported by: 0

README

gaws

gaws is a go package for working with AWS. gaws has a few goals:

  1. Be the most complete AWS package for Go.
  2. Be well tested.
  3. Be well documented.
  4. Be consistent.

gaws is nowhere near ready for real world use, but with your contributions, it can be! Take a look at the Kinesis service for an idea of how to build other gaws packages. Tests should be written with GoConvey.

Documentation

Overview

Package gaws provides functions and variables that allow subpackages to work with AWS services.

Index

Constants

This section is empty.

Variables

View Source
var MaxTries int = 5

MaxTries is the number of times to retry a failing AWS request.

View Source
var Region string = "us-east-1"

Region is the name of the default region for gaws to use.

Functions

This section is empty.

Types

type AWSRequest

type AWSRequest struct {
	RetryPredicate retryPredicate
	URL            string
	Method         string
	Headers        map[string]string
	Body           []byte
}

AWSRequest is a request to AWS. It is used instead of http.Request to facilitate retries.

func (*AWSRequest) Do

func (r *AWSRequest) Do() ([]byte, error)

Do makes the request to AWS and retries with an exponential backoff.

Directories

Path Synopsis
Package kinesis provides a way to interact with the AWS Kinesis service.
Package kinesis provides a way to interact with the AWS Kinesis service.

Jump to

Keyboard shortcuts

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