mirror of https://github.com/go-redis/redis.git
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
|
||
|
}
|