Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbPool *pgxpool.Pool
Functions ¶
func InitWithUrl ¶
func InitWithUrl(url string, opts ...PoolConfigOption) *pgxpool.Pool
func NewMyTracer ¶ added in v0.18.0
func NewOtlpTracer ¶ added in v0.18.0
func NewOtlpTracer() pgx.QueryTracer
Types ¶
type PoolConfigOption ¶
func WithTracer ¶
func WithTracer(t pgx.QueryTracer) PoolConfigOption
Click to show internal directories.
Click to hide internal directories.