forked from nixcn/nixcn-cms
Add meilisearch for user and event
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -4,6 +4,7 @@ type config struct {
|
||||
Server server `yaml:"server"`
|
||||
Database database `yaml:"database"`
|
||||
Cache cache `yaml:"cache"`
|
||||
Search search `yaml:"search"`
|
||||
Email email `yaml:"email"`
|
||||
Secrets secrets `yaml:"secrets"`
|
||||
TTL ttl `yaml:"ttl"`
|
||||
@@ -33,6 +34,11 @@ type cache struct {
|
||||
DB int `yaml:"db"`
|
||||
}
|
||||
|
||||
type search struct {
|
||||
Host string `yaml:"host"`
|
||||
ApiKey string `yaml:"api_key"`
|
||||
}
|
||||
|
||||
type email struct {
|
||||
ResendApiKey string `yaml:"resend_api_key"`
|
||||
From string `yaml:"from"`
|
||||
|
||||
Reference in New Issue
Block a user