Documentation ¶
Index ¶
- func NewRetryableRateLimitTransport(millsBetweenRetries int, retrySleepJitter int, roundTripper http.RoundTripper) http.RoundTripper
- func NewSimpleRateLimitTransport(requestsPerSecond float64, roundTripper http.RoundTripper) http.RoundTripper
- type RetryableRateLimitTransport
- type SimpleRateLimitTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRetryableRateLimitTransport ¶
func NewRetryableRateLimitTransport(millsBetweenRetries int, retrySleepJitter int, roundTripper http.RoundTripper) http.RoundTripper
func NewSimpleRateLimitTransport ¶
func NewSimpleRateLimitTransport(requestsPerSecond float64, roundTripper http.RoundTripper) http.RoundTripper
Types ¶
type RetryableRateLimitTransport ¶
type RetryableRateLimitTransport struct {
// contains filtered or unexported fields
}
type SimpleRateLimitTransport ¶
type SimpleRateLimitTransport struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.