# Packages
No description provided by the author
# Functions
Backoff makes backoff object with custom params.
Check returns retry mode for queryErr.
Do is a retryer of database/sql Conn with fallbacks on errors.
DoTx is a retryer of database/sql transactions with fallbacks on errors.
DoTxWithResult is a retryer of database/sql transactions with fallbacks on errors
Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental.
DoWithResult is a retryer of database/sql Conn with fallbacks on errors
Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental.
IsOperationIdempotent returns the flag for retry with no idempotent errors
Deprecated: context cannot store idempotent value now.
Retry provide the best effort fo retrying operation
Retry implements internal busy loop until one of the following conditions is met:
- context was canceled or deadlined
- retry operation returned nil as error
Warning: if context without deadline or cancellation func was passed, Retry will work infinitely.
RetryableError makes retryable error from options RetryableError provides retrying on custom errors.
RetryWithResult provide the best effort fo retrying operation which will return value or error
RetryWithResult implements internal busy loop until one of the following conditions is met:
- context was canceled or deadlined
- retry operation returned nil as error
Warning: if context without deadline or cancellation func was passed, RetryWithResult will work infinitely.
WithBackoff makes retryable error option with custom backoff type.
WithBudget returns budget option
Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental.
WithDeleteSession makes retryable error option with delete session flag.
WithDoRetryOptions specified retry options Deprecated: use explicit options instead.
WithDoTxRetryOptions specified retry options Deprecated: use explicit options instead.
WithFastBackoff replaces default fast backoff.
WithIdempotent applies idempotent flag to retry operation.
WithIdempotentOperation returns a copy of parent context with idempotent operation feature
Deprecated: use retry.WithIdempotent option instead.
WithLabel applies label for identification call Retry in trace.Retry.OnRetry.
WithNonIdempotentOperation returns a copy of parent context with non-idempotent operation feature
Deprecated: idempotent flag is false by default.
WithPanicCallback returns panic callback option If not defined - panic would not intercept with driver.
WithSlowBackoff replaces default slow backoff.
WithStackTrace wraps errors with stacktrace from Retry call.
WithTrace returns trace option.
WithTxOptions specified transaction options.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author