This commit is contained in:
2023-12-09 23:19:19 -05:00
parent 4e76c9efe1
commit 64e07d3f40
18 changed files with 423 additions and 41 deletions

View File

@ -14,8 +14,11 @@ type Config struct {
}
type cacheConfig struct {
Ttl time.Duration `yaml:"ttl" json:"ttl"`
File string `yaml:"file" json:"file"`
Ttl time.Duration `yaml:"ttl" json:"ttl"`
File string `yaml:"file" json:"file"`
Load struct {
OwnerOnly bool `yaml:"ownerOnly" json:"ownerOnly"`
} `yaml:"load" json:"load"`
Clear struct {
ClearAliases bool `yaml:"clearAliases" json:"clearAliases"`
} `yaml:"clear" json:"clear"`