Documentation
¶
Overview ¶
Package retry handles retry operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryable ¶
Types ¶
type CommitFailedDeadError ¶
type CommitFailedDeadError struct {
// contains filtered or unexported fields
}
func (*CommitFailedDeadError) Error ¶
func (e *CommitFailedDeadError) Error() string
type State ¶
type State struct { LastErrWasRetryable bool LastErr error Errs []error Causes []string MaxTransactionRetryTime time.Duration Log log.Logger LogName string LogId string Now func() time.Time Sleep func(time.Duration) Throttle Throttler MaxDeadConnections int Router Router DatabaseName string OnDeadConnection func(server string) error // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.