Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAutoRetry ¶ added in v3.24.0
SetAutoRetry affects on AutoRetry() flag
func SetOperationCancelAfter ¶
SetOperationCancelAfter set the maximum amount of time a YDB server will process an operation. After timeout exceeds YDB will try to cancel operation and if it succeeds appropriate error will be returned to the client; otherwise processing will be continued.
If OperationCancelAfter is zero then no timeout is used.
func SetOperationTimeout ¶
SetOperationTimeout define the maximum amount of time a YDB server will process an operation. After timeout exceeds YDB will try to cancel operation and regardless of the cancellation appropriate error will be returned to the client.
If OperationTimeout is zero then no timeout is used.
func SetPanicCallback ¶
func SetPanicCallback(c *Common, panicCallback func(e interface{}))
SetPanicCallback applies panic callback to config
Types ¶
type Common ¶
type Common struct {
// contains filtered or unexported fields
}
func (*Common) OperationCancelAfter ¶
OperationCancelAfter is the maximum amount of time a YDB server will process an operation. After timeout exceeds YDB will try to cancel operation and if it succeeds appropriate error will be returned to the client; otherwise processing will be continued. If OperationCancelAfter is zero then no timeout is used.
func (*Common) OperationTimeout ¶
OperationTimeout is the maximum amount of time a YDB server will process an operation. After timeout exceeds YDB will try to cancel operation and regardless of the cancellation appropriate error will be returned to the client. If OperationTimeout is zero then no timeout is used.
func (*Common) PanicCallback ¶
func (c *Common) PanicCallback() func(e interface{})
PanicCallback returns user-defined panic callback If nil - panic callback not defined