Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgxWrapper ¶
type PgxWrapper struct {
// contains filtered or unexported fields
}
PgxWrapper is a wrapper to jackc/pgx/v4.
func New ¶
func New( ctx context.Context, dsn string, waitFor time.Duration, tracer opentracing.Tracer, ) (PgxWrapper, error)
New returns a new PgxWrapper given a postgresql dsn. The wrapper has built in tracing. The connection will be retried until completion.
Click to show internal directories.
Click to hide internal directories.