pg

package
v1.332.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsEnabled added in v1.176.2

func IsEnabled(cfg *Config) bool

IsEnabled for pg.

func Open added in v1.66.1

func Open(params OpenParams) (*mssqlx.DBs, error)

Open for pg.

func Register added in v1.66.1

func Register(tracer trace.Tracer, logger *zap.Logger)

Register the driver for pg.

Types

type Config

type Config struct {
	*config.Config `yaml:",inline" json:",inline" toml:",inline"`
}

Config for pg.

type OpenParams added in v1.94.0

type OpenParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *Config
}

OpenParams for pg.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL