storage

package
v0.0.0-...-f6ab580 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxOpenConns    = 10
	MaxConnLifetime = time.Minute
)

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(uri string) (*sqlx.DB, error)

NewConnection возвращает настроенное соединение в БД используется драйвер pgx для PostgreSQL

Types

This section is empty.

Jump to

Keyboard shortcuts

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