优化文件缓存

This commit is contained in:
刘祥超
2021-06-13 17:37:57 +08:00
parent 993cda7766
commit 13194366a5
11 changed files with 309 additions and 101 deletions

View File

@@ -18,6 +18,8 @@ type Item struct {
HeaderSize int64 `json:"headerSize"`
BodySize int64 `json:"bodySize"`
MetaSize int64 `json:"metaSize"`
Host string `json:"host"` // 主机名
ServerId int64 `json:"serverId"` // 服务ID
}
func (this *Item) IsExpired() bool {