Remove search engine, add event list api
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -4,7 +4,6 @@ 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"`
|
||||
@@ -39,12 +38,6 @@ type cache struct {
|
||||
ServiceName string `yaml:"service_name"`
|
||||
}
|
||||
|
||||
type search struct {
|
||||
Host string `yaml:"host"`
|
||||
ApiKey string `yaml:"api_key"`
|
||||
ServiceName string `yaml:"service_name"`
|
||||
}
|
||||
|
||||
type email struct {
|
||||
Host string `yaml:"host"`
|
||||
Port string `yaml:"port"`
|
||||
|
||||
Reference in New Issue
Block a user