Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoDBConfig types.IMongoDB
View Source
var MySQLConfig []types.IMySQL
View Source
var RedisConfig types.IRedis
View Source
var SqLiteConfig *[]*types.SqLite
Functions ¶
func SqLiteClient ¶ added in v1.5.0
func SqLiteClient() (disconnectors []func())
Define MySQL service host and port
Types ¶
type SqLiteProvider ¶ added in v1.5.0
type SqLiteProvider struct { Config *types.SqLite // debug bool DSN string Gorm *gorm.DB Sql *sql.DB Mu sync.RWMutex }
func (*SqLiteProvider) Connect ¶ added in v1.5.0
func (m *SqLiteProvider) Connect()
func (*SqLiteProvider) Disconnect ¶ added in v1.5.0
func (m *SqLiteProvider) Disconnect()
Click to show internal directories.
Click to hide internal directories.