Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidStatusCode for http retry. ErrInvalidStatusCode = errors.New("invalid status code") )
Functions ¶
This section is empty.
Types ¶
type RoundTripper ¶
type RoundTripper struct { http.RoundTripper // contains filtered or unexported fields }
RoundTripper for retry.
func NewRoundTripper ¶
func NewRoundTripper(cfg *Config, hrt http.RoundTripper) *RoundTripper
NewRoundTripper for retry.
Click to show internal directories.
Click to hide internal directories.