teegob

package
v0.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gob

type Gob struct {
	Writer      io.Writer           // destination for output
	Topic       string              // prefix for all logs
	Placeholder string              // if not blank then used as explicit placeholder instead of placeholder from parameters
	NewTimer    func() sqltee.Timer // retrurs a timer that measures a query execution time
}

func (Gob) ConnBegin

func (g Gob) ConnBegin(d time.Duration, derr error)

func (Gob) ConnBeginTx

func (g Gob) ConnBeginTx(_ context.Context, d time.Duration, opts driver.TxOptions, derr error)

func (Gob) ConnClose

func (g Gob) ConnClose(d time.Duration, derr error)

func (Gob) ConnExec

func (g Gob) ConnExec(d time.Duration, query string, dargs []driver.Value, res driver.Result, derr error)

func (Gob) ConnExecContext

func (g Gob) ConnExecContext(_ context.Context, d time.Duration, query string, nvdargs []driver.NamedValue, res driver.Result, derr error)

func (Gob) ConnPing

func (g Gob) ConnPing(d time.Duration, derr error)

func (Gob) ConnPrepare

func (g Gob) ConnPrepare(d time.Duration, query string, derr error)

func (Gob) ConnPrepareContext

func (g Gob) ConnPrepareContext(_ context.Context, d time.Duration, query string, derr error)

func (Gob) ConnQuery

func (g Gob) ConnQuery(d time.Duration, query string, dargs []driver.Value, derr error)

func (Gob) ConnQueryContext

func (g Gob) ConnQueryContext(_ context.Context, d time.Duration, query string, nvdargs []driver.NamedValue, derr error)

func (Gob) DriverOpen

func (g Gob) DriverOpen(d time.Duration, derr error)

func (Gob) RowsNext

func (g Gob) RowsNext(d time.Duration, dest []driver.Value, derr error)

func (Gob) StmtClose

func (g Gob) StmtClose(d time.Duration, derr error)

func (Gob) StmtExec

func (g Gob) StmtExec(d time.Duration, query string, dargs []driver.Value, res driver.Result, derr error)

func (Gob) StmtExecContext

func (g Gob) StmtExecContext(_ context.Context, d time.Duration, query string, nvdargs []driver.NamedValue, res driver.Result, derr error)

func (Gob) StmtQuery

func (g Gob) StmtQuery(d time.Duration, query string, dargs []driver.Value, derr error)

func (Gob) StmtQueryContext

func (g Gob) StmtQueryContext(_ context.Context, d time.Duration, query string, nvdargs []driver.NamedValue, derr error)

func (Gob) Timer

func (g Gob) Timer() sqltee.Timer

func (Gob) TxCommit

func (g Gob) TxCommit(d time.Duration, derr error)

func (Gob) TxRollback

func (g Gob) TxRollback(d time.Duration, derr error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL