drivers

package
v0.0.0-...-6d480b4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLXConfig

type SQLXConfig struct {
	DriverName     string
	DataSourceName string
	MaxOpenConns   int
	MaxIdleConns   int
	MaxLifetime    time.Duration
}

SQLXConfig holds the configuration for the database instance

func (*SQLXConfig) InitializeSQLXDatabase

func (config *SQLXConfig) InitializeSQLXDatabase() (*sqlx.DB, error)

InitializeSQLXDatabase returns a new DBInstance

Jump to

Keyboard shortcuts

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