Documentation
¶
Index ¶
- func WrapWithRecorder(driverName string, recorder *apitest.Recorder) driver.Driver
- type RecordingConn
- type RecordingConnWithBeginTx
- type RecordingConnWithExec
- type RecordingConnWithExecContext
- type RecordingConnWithExecQuery
- type RecordingConnWithExecQueryPrepareContext
- type RecordingConnWithPing
- type RecordingConnWithPrepareContext
- type RecordingConnWithQuery
- type RecordingConnWithQueryContext
- type RecordingConnector
- type RecordingDriver
- type RecordingDriverContext
- type RecordingRows
- type RecordingStmt
- type RecordingStmtWithExecContext
- type RecordingStmtWithExecQueryContext
- type RecordingStmtWithQueryContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RecordingConn ¶
func (*RecordingConn) Close ¶
func (conn *RecordingConn) Close() error
type RecordingConnWithBeginTx ¶
type RecordingConnWithBeginTx struct {
*RecordingConn
}
type RecordingConnWithExec ¶
type RecordingConnWithExec struct {
*RecordingConn
}
type RecordingConnWithExecContext ¶
type RecordingConnWithExecContext struct {
*RecordingConn
}
func (*RecordingConnWithExecContext) ExecContext ¶
func (conn *RecordingConnWithExecContext) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
type RecordingConnWithExecQuery ¶
type RecordingConnWithExecQuery struct { *RecordingConn *RecordingConnWithExec *RecordingConnWithQuery }
type RecordingConnWithExecQueryPrepareContext ¶
type RecordingConnWithExecQueryPrepareContext struct { *RecordingConn *RecordingConnWithPrepareContext *RecordingConnWithExecContext *RecordingConnWithQueryContext *RecordingConnWithBeginTx *RecordingConnWithPing }
type RecordingConnWithPing ¶
type RecordingConnWithPing struct {
*RecordingConn
}
type RecordingConnWithPrepareContext ¶
type RecordingConnWithPrepareContext struct {
*RecordingConn
}
func (*RecordingConnWithPrepareContext) PrepareContext ¶
type RecordingConnWithQuery ¶
type RecordingConnWithQuery struct {
*RecordingConn
}
type RecordingConnWithQueryContext ¶
type RecordingConnWithQueryContext struct {
*RecordingConn
}
func (*RecordingConnWithQueryContext) QueryContext ¶
func (conn *RecordingConnWithQueryContext) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
type RecordingConnector ¶
type RecordingConnector struct { Connector driver.Connector // contains filtered or unexported fields }
func (*RecordingConnector) Driver ¶
func (c *RecordingConnector) Driver() driver.Driver
type RecordingDriver ¶
type RecordingDriverContext ¶
type RecordingDriverContext struct {
*RecordingDriver
}
func (*RecordingDriverContext) OpenConnector ¶
func (d *RecordingDriverContext) OpenConnector(name string) (driver.Connector, error)
type RecordingRows ¶
type RecordingRows struct { Rows driver.Rows RowsFound int // contains filtered or unexported fields }
func (*RecordingRows) Close ¶
func (rows *RecordingRows) Close() error
func (*RecordingRows) Columns ¶
func (rows *RecordingRows) Columns() []string
type RecordingStmt ¶
func (*RecordingStmt) Close ¶
func (stmt *RecordingStmt) Close() error
func (*RecordingStmt) NumInput ¶
func (stmt *RecordingStmt) NumInput() int
type RecordingStmtWithExecContext ¶
type RecordingStmtWithExecContext struct {
*RecordingStmt
}
func (*RecordingStmtWithExecContext) ExecContext ¶
func (stmt *RecordingStmtWithExecContext) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
type RecordingStmtWithExecQueryContext ¶
type RecordingStmtWithExecQueryContext struct { *RecordingStmt *RecordingStmtWithExecContext *RecordingStmtWithQueryContext }
type RecordingStmtWithQueryContext ¶
type RecordingStmtWithQueryContext struct {
*RecordingStmt
}
func (*RecordingStmtWithQueryContext) QueryContext ¶
func (stmt *RecordingStmtWithQueryContext) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
Click to show internal directories.
Click to hide internal directories.