bank

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBankCase

func NewBankCase(cfg *Config) core.Client

NewBankCase ...

Types

type ClientCreator

type ClientCreator struct {
	Cfg *Config
}

ClientCreator ...

func (ClientCreator) Create

Create ...

type Config

type Config struct {
	EnableLongTxn bool
	Pessimistic   bool
	RetryLimit    int
	Accounts      int
	Tables        int
	Interval      time.Duration
	Concurrency   int
	ReplicaRead   string
	DbName        string
}

Config is for bank testing.

Jump to

Keyboard shortcuts

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