Documentation
¶
Overview ¶
Package recording implements a database-free driver that records operations.
Index ¶
- type Driver
- func (d *Driver) Begin(ctx context.Context, isolation config.TxIsolationLevel) (driver.Tx, error)
- func (*Driver) ClassifyError(err error) driver.ErrorFacts
- func (d *Driver) Insert(ctx context.Context, request *driver.InsertRequest) (*stats.Query, error)
- func (d *Driver) OpenSession(ctx context.Context) (driver.Session, error)
- func (d *Driver) RunQuery(ctx context.Context, sql string, args map[string]any) (*driver.QueryResult, error)
- func (*Driver) SessionCapacity() int
- func (d *Driver) Teardown(context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ClassifyError ¶
func (*Driver) ClassifyError(err error) driver.ErrorFacts
func (*Driver) OpenSession ¶ added in v6.3.0
func (*Driver) SessionCapacity ¶ added in v6.3.0
Click to show internal directories.
Click to hide internal directories.