优化过期列表管理

This commit is contained in:
刘祥超
2024-03-31 11:47:34 +08:00
parent 2a44283016
commit 98441ccd3a
4 changed files with 89 additions and 55 deletions

View File

@@ -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
}