实现缓存策略的部分功能

This commit is contained in:
GoEdgeLab
2020-10-04 14:30:42 +08:00
parent 1bea7d00be
commit 925d13466d
17 changed files with 1751 additions and 2 deletions

7
internal/caches/stat.go Normal file
View File

@@ -0,0 +1,7 @@
package caches
type Stat struct {
Count int // 数量
ValueSize int64 // 值占用的空间
Size int64 // 占用的空间尺寸
}