mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
18 lines
243 B
Go
18 lines
243 B
Go
package redis
|
|
|
|
import "net"
|
|
|
|
func (c *baseClient) Pool() pool {
|
|
return c.connPool
|
|
}
|
|
|
|
var NewConnDialer = newConnDialer
|
|
|
|
func (cn *conn) SetNetConn(netcn net.Conn) {
|
|
cn.netcn = netcn
|
|
}
|
|
|
|
func HashSlot(key string) int {
|
|
return hashSlot(key)
|
|
}
|