Categorygithub.com/globocom/galf
modulepackage
0.0.0-20190328142942-b9174d0657d5
Repository: https://github.com/globocom/galf.git
Documentation: pkg.go.dev

# README

GALF

Go OAuth2 Client

Installation

Assuming you have a working Go environment:

go get github.com/globocom/galf

# Functions

ConstantBackOff always returns 30 Millisecond.
ExponentialBackoff returns ever increasing backoffs by a power of 2 in seconds.
ConfigureCommand applies settings for a circuit.
LinearBackoff returns increasing durations, each a second longer than the last n seconds where n is the retry number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

BackoffStrategy is used to determine how long a retry request should wait until attempted.