This commit is contained in:
GoEdgeLab
2024-07-27 13:29:26 +08:00
parent d8a8c345a2
commit 2f3981704e
210 changed files with 1290 additions and 934 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
package shared
@@ -14,7 +14,7 @@ var dataMapPrefix = []byte("GOEDGE_DATA_MAP:")
// DataMap 二进制数据共享Map
// 用来减少相同数据占用的空间和内存
type DataMap struct {
Map map[string][]byte
Map map[string][]byte
locker sync.Mutex
}