边缘节点支持设置多个缓存目录

This commit is contained in:
GoEdgeLab
2022-11-15 20:42:25 +08:00
parent c64f57df5a
commit b3c55f1c40
4 changed files with 185 additions and 68 deletions

View File

@@ -0,0 +1,11 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package caches
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/shared"
type FileDir struct {
Path string
Capacity *shared.SizeCapacity
IsFull bool
}