MCPcopy
hub / github.com/redis/go-redis / UsedAt

Method UsedAt

internal/pool/conn.go:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func (cn *Conn) UsedAt() time.Time {
181 return time.Unix(0, cn.usedAt.Load())
182}
183func (cn *Conn) SetUsedAt(tm time.Time) {
184 cn.usedAt.Store(tm.UnixNano())
185}

Calls 1

LoadMethod · 0.45