(tm time.Time)
| 181 | return time.Unix(0, cn.usedAt.Load()) |
| 182 | } |
| 183 | func (cn *Conn) SetUsedAt(tm time.Time) { |
| 184 | cn.usedAt.Store(tm.UnixNano()) |
| 185 | } |
| 186 | |
| 187 | func (cn *Conn) UsedAtNs() int64 { |
| 188 | return cn.usedAt.Load() |
no outgoing calls
no test coverage detected