Documentation
¶
Overview ¶
Package retry handles retry operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryable ¶
Types ¶
type State ¶
type State struct { Errs []error 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 }
func (*State) ProduceError ¶
Click to show internal directories.
Click to hide internal directories.