add redis recorder expiry time

This commit is contained in:
yuzuki999
2022-11-18 10:18:26 +08:00
parent 465f5d5bf1
commit 717a8d1d24
3 changed files with 4 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ type RedisConfig struct {
Address string `yaml:"Address"`
Password string `yaml:"Password"`
Db int `yaml:"Db"`
Expiry int `json:"Expiry"`
}
type IpReportConfig struct {