Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2020 Changes in this version + type Client struct + func NewPessimisticCase(cfg ClientConfig) *Client + func (c *Client) Execute(ctx context.Context, db *sql.DB) error + func (c *Client) Initialize(ctx context.Context, db *sql.DB) error + func (c *Client) NewSession(db *sql.DB, seID, maxSize uint64) (*Session, error) + func (c *Client) String() string + type ClientConfig struct + Concurrency int + DBName string + IgnoreCodesO []int + IgnoreCodesP []int + InsertDelete bool + Mode string + OperationCount uint64 + TableNum int + TableSize uint64 + UsePrepareStmt bool + type ClientCreator struct + Cfg *Config + func (l ClientCreator) Create(node cluster.ClientNode) core.Client + type Config struct + HongbaoClientConfig hongbao.ClientConfig + PessimisticClientConfig ClientConfig + type Session struct + func (se *Session) Run(wg *sync.WaitGroup)