Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCreator ¶
type ClientCreator struct {
Cfg *Config
}
ClientCreator ...
func (ClientCreator) Create ¶
func (c ClientCreator) Create(_ cluster.ClientNode) core.Client
Create ...
type Config ¶
type Config struct { // NumAccounts is total accounts NumAccounts int `toml:"num_accounts"` Interval time.Duration `toml:"interval"` Concurrency int `toml:"concurrency"` RetryLimit int `toml:"retry_limit"` EnableLongTxn bool `toml:"enable_long_txn"` Contention string `toml:"contention"` Pessimistic bool `toml:"pessimistic"` MinLength int `toml:"min_length"` MaxLength int `toml:"max_length"` ReplicaRead string DbName string TiFlashDataReplicas int ConnParams string }
Config ...
Click to show internal directories.
Click to hide internal directories.