Versions in this module Expand all Collapse all v1 v1.0.0 Feb 22, 2019 Changes in this version + const AttemptMetadataKey + var DefaultRetriableCodes = []codes.Code + func StreamClientInterceptor(optFuncs ...CallOption) grpc.StreamClientInterceptor + func UnaryClientInterceptor(optFuncs ...CallOption) grpc.UnaryClientInterceptor + type BackoffFunc func(attempt uint) time.Duration + func BackoffExponential(scalar time.Duration) BackoffFunc + func BackoffExponentialWithJitter(scalar time.Duration, jitterFraction float64) BackoffFunc + func BackoffLinear(waitBetween time.Duration) BackoffFunc + func BackoffLinearWithJitter(waitBetween time.Duration, jitterFraction float64) BackoffFunc + type BackoffFuncContext func(ctx context.Context, attempt uint) time.Duration + type CallOption struct + func Disable() CallOption + func WithBackoff(bf BackoffFunc) CallOption + func WithBackoffContext(bf BackoffFuncContext) CallOption + func WithCodes(retryCodes ...codes.Code) CallOption + func WithMax(maxRetries uint) CallOption + func WithPerRetryTimeout(timeout time.Duration) CallOption