mirror of
https://github.com/CFC-Servers/cfc_cl_http_whitelist.git
synced 2025-03-04 03:03:18 -05:00
create alias for LimitedCacheValue
This commit is contained in:
parent
6d9cb42144
commit
3afceb7ffc
@ -1,6 +1,8 @@
|
||||
---@alias LimitedCacheValue {key: string, value: any, created: number}
|
||||
|
||||
---@class LimitedCache
|
||||
---@field private data table<string, {key: string, value: any, created: number}>
|
||||
---@field private queue table<number, {key: string, value: any, created: number}>
|
||||
---@field private data table<string, LimitedCacheValue>
|
||||
---@field private queue table<number, LimitedCacheValue>
|
||||
---@field private limit number
|
||||
---@field private ttlSeconds number
|
||||
---@field private first number
|
||||
|
Loading…
Reference in New Issue
Block a user