Documentation ¶
Index ¶
- type Conn
- func (t *Conn) Connect(driverName, dsn, dbName string) (err error)
- func (t *Conn) Job() *Job
- func (t *Conn) Raw() *sql.DB
- func (t *Conn) SetOpenConns(openConns, idleConns int)
- func (t *Conn) TxJob(isoLevel sql.IsolationLevel, readonly bool) (job *Job, err error)
- func (t *Conn) TxJobFunc(isoLevel sql.IsolationLevel, readonly bool, fn func(*Job) error) (err error)
- type Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { DriverName string Dsn string DbName string // contains filtered or unexported fields }
func (*Conn) SetOpenConns ¶
Click to show internal directories.
Click to hide internal directories.