poolx

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDbPool

func CloseDbPool()

func CloseRedisPool

func CloseRedisPool()

func GetDbPool

func GetDbPool() *sql.DB

func GetRedisConnection

func GetRedisConnection(ctx ...context.Context) (redis.Conn, error)

func GetRedisPool

func GetRedisPool() *redis.Pool

func InitDbPool

func InitDbPool(settings ...map[string]interface{})

func InitRedisPool

func InitRedisPool(settings ...map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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