mirror of
https://github.com/wonli/aqi.git
synced 2024-06-28 09:57:05 +08:00
18 lines
378 B
Go
18 lines
378 B
Go
package store
|
|
|
|
func DB(configKey string) *MySQLStore {
|
|
return &MySQLStore{configKey: configKey}
|
|
}
|
|
|
|
func SQLite(configKey string) *SQLiteStore {
|
|
return &SQLiteStore{configKey: configKey}
|
|
}
|
|
|
|
func Redis(configKey string) *RedisStore {
|
|
return &RedisStore{configKey: configKey}
|
|
}
|
|
|
|
func SqlServer(configKey string) *SqlServerStore {
|
|
return &SqlServerStore{configKey: configKey}
|
|
}
|