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

This commit is contained in:
刘祥超
2022-11-15 20:42:25 +08:00
parent 825e46458f
commit 1bb818b5b0
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
}