db_client

package module
v0.0.0-...-711eb2c Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDatabaseClient

func InitDatabaseClient(masterDSN string, slaveSDNs []string, dbType string) *gorm.DB

func InitMysqlClient

func InitMysqlClient(masterDSN string, slavesDSN []string) *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