This commit is contained in:
2023-12-07 12:08:56 -05:00
parent a8aa8af3d3
commit 20bc28ad36
11 changed files with 411 additions and 120 deletions

View File

@ -11,6 +11,9 @@ type Config struct {
}
type cacheConfig struct {
Ttl time.Duration `yaml:"ttl" json:"ttl"`
File string
Ttl time.Duration `yaml:"ttl" json:"ttl"`
File string `yaml:"file" json:"file"`
Clear struct {
ClearAliases bool `yaml:"clearAliases" json:"clearAliases"`
} `yaml:"clear" json:"clear"`
}