mirror of
https://github.com/redis/go-redis.git
synced 2025-08-07 12:42:55 +03:00
Init
This commit is contained in:
14
internal/pool/export_test.go
Normal file
14
internal/pool/export_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package pool
|
||||
|
||||
import (
|
||||
"net"
|
||||
"time"
|
||||
)
|
||||
|
||||
func (cn *Conn) SetCreatedAt(tm time.Time) {
|
||||
cn.createdAt = tm
|
||||
}
|
||||
|
||||
func (cn *Conn) NetConn() net.Conn {
|
||||
return cn.netConn
|
||||
}
|
Reference in New Issue
Block a user