Add meilisearch for user and event

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-26 02:16:23 +08:00
parent 3dbcc00a2d
commit 6681ffccdf
19 changed files with 229 additions and 15 deletions

View File

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