Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDatasource ¶
func InitDatasource(dataSources []DataSource, isUseSSH bool, dbCh chan DBInstance)
Types ¶
type DBInstance ¶ added in v1.0.9
type DBInstance struct { DB *sql.DB Config DataSource }
type DataSource ¶ added in v1.0.3
type GormInstance ¶ added in v1.1.2
type GormInstance struct { DB *gorm.DB Config DataSource }
func InitGormDatasource ¶
func InitGormDatasource(datasource []DataSource, isUseSSH bool, loggingLevel string) []GormInstance
Click to show internal directories.
Click to hide internal directories.