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

Function integerToDuration

structure/string.go:38–40  ·  view source on GitHub ↗
(ttl int64)

Source from the content-addressed store, hash-verified

36}
37
38func integerToDuration(ttl int64) time.Duration {
39 return time.Duration(ttl) * time.Second
40}
41
42// Set sets the value of a key
43// If the key does not exist, it will be created

Callers 1

SetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected