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
Types ¶
type PoolConfigOption ¶
func WithOtlpTracer ¶ added in v0.10.0
func WithOtlpTracer() PoolConfigOption
func WithTracer ¶
func WithTracer(logger *log.Logger, level log.Level) PoolConfigOption
Click to show internal directories.
Click to hide internal directories.