config

package
v0.0.0-...-8fa7ef6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresDatabase

func NewPostgresDatabase() (*pgxpool.Pool, error)

Types

type DBConfig

type DBConfig struct {
	Host            string
	Port            string
	Username        string
	Password        string
	DBName          string
	MinConns        int32
	MaxConns        int32
	TimeOutDuration time.Duration
}

Jump to

Keyboard shortcuts

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