common

package
v0.0.0-...-b8ff64e Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: MIT Imports: 2 Imported by: 5

Documentation

Overview

Package common provides utilities for retrying and working with S3 URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeS3URL

func NormalizeS3URL(rawurl string) string

Convert a URL with or without s3:// on the front to its s3:// form

Types

type Retrier

type Retrier struct {
	Times         int
	BackoffFactor int
}

func (*Retrier) Retry

func (r *Retrier) Retry(fn func() error) error

Jump to

Keyboard shortcuts

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