Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface {
Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error)
QueryRow(context.Context, string, ...interface{}) Row
Query(context.Context, string, ...interface{}) (Rows, error)
}
Conn
type Pool ¶
type Pool interface {
Acquire(context.Context) (Conn, error)
Begin(context.Context) (Tx, error)
Ping(context.Context) error
Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error)
QueryRow(context.Context, string, ...interface{}) Row
Query(context.Context, string, ...interface{}) (Rows, error)
Close(context.Context) error
}
Pool
Click to show internal directories.
Click to hide internal directories.