database

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DbInit

func DbInit(gormConf *gorm.Config)

DbInit 平台数据库专用

func InitializationLog

func InitializationLog(gormConf *gorm.Config) bool

func Initialize

func Initialize()

func OpenDB

func OpenDB(DriverName string, Host string, Dbuser string, Password string, Dbname string, Port int, Prefix string, Charset string, SetmaxIdleconns int, Setmaxopenconns int, Setconnmaxlifetime int) (dber databaser, sqlDb *gorm.DB)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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