github.com/jackc/pgx/v4/stdlib.connector.AfterConnect (field)
4 uses
github.com/jackc/pgx/v4/stdlib (current package)
sql.go#L116: dc.AfterConnect = ac
sql.go#L123: AfterConnect: func(context.Context, *pgx.Conn) error { return nil }, // noop after connect by default
sql.go#L136: AfterConnect func(context.Context, *pgx.Conn) error // function to call on every new connection
sql.go#L151: if err = c.AfterConnect(ctx, conn); err != nil {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |