redis/internal/pool/export_test.go

14 lines
165 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
}