实现内存缓存

This commit is contained in:
刘祥超
2020-10-05 19:15:35 +08:00
parent d7493c4188
commit 78a2480836
14 changed files with 504 additions and 17 deletions

View File

@@ -45,3 +45,7 @@ func (this *gzipWriter) Key() string {
func (this *gzipWriter) ExpiredAt() int64 {
return this.expiredAt
}
func (this *gzipWriter) Size() int64 {
return this.rawWriter.Size()
}