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

Method PEXPIREAT

structure/expiring_key.go:42–44  ·  view source on GitHub ↗
(key string, milliseconds_timestamp int64)

Source from the content-addressed store, hash-verified

40}
41
42func (ek *ExpireStructure) PEXPIREAT(key string, milliseconds_timestamp int64) error {
43 return ek.setExpireToDB(key, milliseconds_timestamp)
44}
45
46func (ek *ExpireStructure) TTL(key string) (int64, error) {
47 // Get the deadtime

Callers 1

Calls 1

setExpireToDBMethod · 0.95

Tested by 1