MCPcopy 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
40func (this *MemoryItem) IsExpired() bool {
41 return this.ExpiresAt < fasttime.Now().Unix()
42}
43
44type MemoryStorage struct {
45 parentStorage StorageInterface

Callers 2

openWriterMethod · 0.45
flushItemMethod · 0.45

Calls 2

NowFunction · 0.92
UnixMethod · 0.80

Tested by

no test coverage detected