forked from nixcn/nixcn-cms
Add meilisearch for user and event
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package drivers
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type ExternalDSN struct {
|
||||
Host string
|
||||
Name string
|
||||
@@ -19,6 +15,7 @@ type RedisDSN struct {
|
||||
DB int
|
||||
}
|
||||
|
||||
type DBClient struct {
|
||||
*gorm.DB
|
||||
type MeiliDSN struct {
|
||||
Host string
|
||||
ApiKey string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user