mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-29 09:16:35 +08:00
优化过期列表管理
This commit is contained in:
@@ -58,3 +58,11 @@ func (this *IdKeyMap) DeleteKey(key string) {
|
||||
func (this *IdKeyMap) Len() int {
|
||||
return len(this.idKeys)
|
||||
}
|
||||
|
||||
func (this *IdKeyMap) IdKeys() map[int64]string {
|
||||
return this.idKeys
|
||||
}
|
||||
|
||||
func (this *IdKeyMap) KeyIds() map[string]int64 {
|
||||
return this.keyIds
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user