aqi/store/use.go
2024-06-18 18:09:39 +08:00

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}
}