Move redis config to CacheConfig struct, add cache prefixes & trace logging

This commit is contained in:
Moritz Marquardt 2024-03-29 23:15:08 +01:00
parent e1a22d5f4c
commit 46c8daacba
7 changed files with 45 additions and 30 deletions

View file

@ -6,7 +6,7 @@ type Config struct {
Gitea GiteaConfig
Database DatabaseConfig
ACME ACMEConfig
RedisURL string `default:""`
Cache CacheConfig
}
type ServerConfig struct {
@ -46,3 +46,7 @@ type ACMEConfig struct {
NoDNS01 bool `default:"false"`
AccountConfigFile string `default:"acme-account.json"`
}
type CacheConfig struct {
RedisURL string `default:""`
}