pool

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This package attempts at opening a nd retaining a pool of distinct DBMS connections TODO: Versioning. Especially for this package (service layer)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnByDriverAndEndpointName

func GetConnByDriverAndEndpointName(driver, endpointName string) (*database.DbmsConn, error)

func GetDsnByDriverAndEndpointName

func GetDsnByDriverAndEndpointName(driver, endpointName string) (database.Dsn, error)

func Register

func Register(dbms database.Dbms) error

Register registers a new database.Dbms in the pool

func SizeOf

func SizeOf(driver string) int

func String

func String() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳