pg

package
v1.82.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Unlicense Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open added in v1.66.1

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

Open for PostgreSQL.

func Register added in v1.66.1

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

Register the driver for PostgreSQL.

Types

type Config

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

Config for SQL.

type DBParams added in v1.65.0

type DBParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *Config
	Version   version.Version
}

DBParams for PostgreSQL.

Directories

Path Synopsis
trace

Jump to

Keyboard shortcuts

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