Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version app version Version = "1.1.0" // Revision git commit short commithash Revision = "xxxxxx" // set on build )
Functions ¶
func ClientWithAdditionalRetries ¶
func ClientWithAdditionalRetries(baseClient *http.Client, baseRetryTransport *retryTransport, predicates ...RetryErrorPredicateFunc) *http.Client
Helper method to create a shallow copy of an HTTP client with a shallow-copied retryTransport s.t. the base HTTP transport is the same (i.e. client connection pools are shared, retryPredicates are different)
func NewTransportWithDefaultRetries ¶
func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport
NewTransportWithDefaultRetries constructs a default retryTransport that will retry common temporary errors
Types ¶
type Config ¶
type Config struct { Credentials string ImpersonatedUserEmail string // contains filtered or unexported fields }
Config is the configuration structure used to instantiate the Google provider.
type RetryErrorPredicateFunc ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.