MCPcopy
hub / github.com/coocood/freecache / Now

Method Now

timer.go:11–11  ·  view source on GitHub ↗

Give current time (in seconds)

()

Source from the content-addressed store, hash-verified

9type Timer interface {
10 // Give current time (in seconds)
11 Now() uint32
12}
13
14// Timer that must be stopped.

Callers 14

setMethod · 0.65
touchMethod · 0.65
locateMethod · 0.65
ttlMethod · 0.65
getUnixTimeFunction · 0.65
nextForSlotMethod · 0.65
NowMethod · 0.65
TestGetWithExpirationFunction · 0.65
TestInt64KeyFunction · 0.65

Implementers 3

defaultTimertimer.go
cachedTimertimer.go
mockTimercache_test.go

Calls

no outgoing calls

Tested by 7

NowMethod · 0.52
TestGetWithExpirationFunction · 0.52
TestInt64KeyFunction · 0.52
TestIteratorExpireAtFunction · 0.52