优化Partial Content缓存

This commit is contained in:
GoEdgeLab
2022-03-04 22:42:03 +08:00
parent cf074fdaea
commit 1d3319a0b7
8 changed files with 104 additions and 29 deletions

View File

@@ -39,7 +39,7 @@ type Reader interface {
BodySize() int64
// ContainsRange 是否包含某个区间内容
ContainsRange(r rangeutils.Range) bool
ContainsRange(r rangeutils.Range) (r2 rangeutils.Range, ok bool)
// Close 关闭
Close() error