issues
search
bepass-org
/
bepass
A simple DPI bypass tool written in go
MIT License
342
stars
71
forks
source link
[Feat] Add TTL Support to Cache
#12
Closed
kaveh-ahangar
closed
11 months ago
kaveh-ahangar
commented
11 months ago
Introduced a new
cacheItem
struct to hold cached values along with their expiry times.
Modified the
Set
function to accept an additional parameter for specifying the TTL duration of cached items.
cacheItem
struct to hold cached values along with their expiry times.Set
function to accept an additional parameter for specifying the TTL duration of cached items.