Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ IsExpired
Method
IsExpired
internal/caches/storage_memory.go:40–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(this *MemoryItem) IsExpired() bool {
41
return
this.ExpiresAt < fasttime.Now().Unix()
42
}
43
44
type
MemoryStorage
struct
{
45
parentStorage StorageInterface
Callers
2
openWriter
Method · 0.45
flushItem
Method · 0.45
Calls
2
Now
Function · 0.92
Unix
Method · 0.80
Tested by
no test coverage detected