mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-25 06:26:34 +08:00
增加固定Map定义
This commit is contained in:
@@ -7,6 +7,8 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
// FixedSet
|
||||
// TODO 解决已存在元素不能按顺序弹出的问题
|
||||
type FixedSet struct {
|
||||
maxSize int
|
||||
locker sync.RWMutex
|
||||
|
||||
Reference in New Issue
Block a user