MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / getCurrentMiliUnixTimeStamp

Method getCurrentMiliUnixTimeStamp

structure/expiring_key.go:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (ek *ExpireStructure) getCurrentMiliUnixTimeStamp() int64 {
135 now := time.Now()
136 return now.UnixNano() / int64(time.Millisecond)
137}
138
139// getExpireFromDB retrieves data from the database.
140func (ek *ExpireStructure) getExpireFromDB(key string, isKeyCanNotExist bool) (int64, error) {

Callers 8

EXPIREMethod · 0.95
PEXPIREMethod · 0.95
TTLMethod · 0.95
PTTLMethod · 0.95
EXPIREBYMethod · 0.95
PEXPIREBYMethod · 0.95
EXPIREBYATMethod · 0.95
PEXPIREBYATMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected