dao

package
v0.0.0-...-5781841 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDbs

func CloseDbs()

func GetMDBMySql

func GetMDBMySql() *gorm.DB

func GetMQuery

func GetMQuery() *query.Query

func GetRedis

func GetRedis() *redis.Client

func InitDb

func InitDb(m config.DSN, r config.RedisConf)

InitDb in project main init

func SetDBMaxConns

func SetDBMaxConns(db *gorm.DB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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