Documentation
¶
Index ¶
- Variables
- type ReConn
- func (c *ReConn) Close(ctx context.Context) error
- func (c *ReConn) Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)
- func (c *ReConn) IsClosed() bool
- func (c *ReConn) Ping(ctx context.Context) error
- func (c *ReConn) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)
- func (c *ReConn) QueryRow(ctx context.Context, sql string, args ...any) (pgx.Row, error)
- func (c *ReConn) Reconnect(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConnString = errors.New("no connection string provided") ErrReconnect = errors.New("error while reconnecting") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.