Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDeadlockRetryTxInterval = time.Duration(0) * time.Millisecond
	DefaultDeadlockRetryTxCount    = 0
)

default transaction retry options

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	RetryTxCount    int
	RetryTxInterval time.Duration
}

Options is type for retry transaction options

func Default

func Default() Options

Default returns default retry transaction options

func Read

func Read(config *util.Config) Options

Read gets retry transaction options from config

Source Files

  • options.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL