Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCreator ¶
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"`
TableNum int `toml:"table_num"`
Concurrency int `toml:"concurrency"`
RetryLimit int `toml:"retry_limit"`
EnableLongTxn bool `toml:"enable_long_txn"`
RunMode string `toml:"run_mode"` // useless?
Contention string `toml:"contention"`
Pessimistic bool `toml:"pessimistic"`
MinLength int `toml:"min_length"`
MaxLength int `toml:"max_length"`
ReplicaRead string
DbName string
}
Config ...
Click to show internal directories.
Click to hide internal directories.