Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromContext ¶
func ClientFromContext(ctx context.Context) *retryablehttp.Client
ClientFromContext retrieves the HTTP client from context. Falls back to a default retryable client if none is set.
func NewLeveledLogger ¶
func NewLeveledLogger(lgr logger.Logger) retryablehttp.LeveledLogger
NewLeveledLogger creates a retryablehttp.LeveledLogger from a go-logger.Logger.
func WithHTTPClient ¶
WithHTTPClient returns a new context with the provided HTTP client attached.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.