Interface: retry.RateLimiter

import "../ibm-cos-sdk-go-v2/aws/retry"

Overview

RateLimiter provides the interface for limiting the rate of attempt retries allowed by the retryer.

Implemented By

ratelimit.TokenRateLimit

Interface Method Summary collapse

Interface Method Details

AddTokens(uint) error

This method is abstract.


154
// File 'aws/retry/standard.go', line 154

AddTokens(uint) error

GetToken(ctx context.Context, cost uint) (releaseToken func() error, err error)

This method is abstract.


153
// File 'aws/retry/standard.go', line 153

GetToken(ctx context.Context, cost uint) (releaseToken func() error, err error)