Add some caching

This commit is contained in:
2021-09-17 02:01:43 +02:00
parent 36a487cb0c
commit a13e9c0eba
10 changed files with 224 additions and 123 deletions

View File

@@ -15,8 +15,9 @@ type Config struct {
Frontend FrontendConfig `toml:"Frontend"`
}
type StoreConfig struct {
Type string `toml:"Type"`
Postgres PostgresStoreConfig `toml:"Postgres"`
Type string `toml:"Type"`
EnableCache bool `toml:"EnableCache"`
Postgres PostgresStoreConfig `toml:"Postgres"`
}
type PostgresStoreConfig struct {