缓存支持ETag和Last-Modified

This commit is contained in:
GoEdgeLab
2021-06-14 11:46:39 +08:00
parent 0fff9186e5
commit 171d6632b7
7 changed files with 62 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ type MemoryItem struct {
BodyValue []byte
Status int
IsDone bool
ModifiedAt int64
}
func (this *MemoryItem) IsExpired() bool {