database

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShutdownPool added in v1.0.2

func ShutdownPool(db *DB) error

ShutdownPool Shuts down Connection Pool

Types

type DB

type DB struct {
	DB      *sqlx.DB
	Enabled bool
}

DB contains Database Driver

func GetConnectionPool

func GetConnectionPool(config foundation.ConfigStore) *DB

GetConnectionPool creates a connection pool and returns accessor to it

Jump to

Keyboard shortcuts

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