shared

package
v0.0.0-...-8b57a7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRetryCount             = 0
	DefaultTimeout                = 30 * time.Second
	DefaultMaxConcurrentRequests  = 100
	DefaultErrorPercentThreshold  = 25
	DefaultSleepWindow            = 10
	DefaultRequestVolumeThreshold = 10
)

Constants

Variables

View Source
var (
	Err5xx = stacktrace.NewError("server returned 5xx status code")
)

Errors

Functions

This section is empty.

Types

type ClientInterface

type ClientInterface interface {
	Do(req *http.Request) (*http.Response, error)
}

ClientInterface -

Jump to

Keyboard shortcuts

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