mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
15 lines
166 B
Go
15 lines
166 B
Go
package pool
|
|
|
|
import (
|
|
"net"
|
|
"time"
|
|
)
|
|
|
|
func (cn *Conn) SetCreatedAt(tm time.Time) {
|
|
cn.createdAt = tm
|
|
}
|
|
|
|
func (cn *Conn) NetConn() net.Conn {
|
|
return cn.netConn
|
|
}
|