mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
16 lines
208 B
Go
16 lines
208 B
Go
package redis
|
|
|
|
import "net"
|
|
|
|
func (c *baseClient) Pool() pool {
|
|
return c.connPool
|
|
}
|
|
|
|
func (cn *conn) SetNetConn(netcn net.Conn) {
|
|
cn.netcn = netcn
|
|
}
|
|
|
|
func HashSlot(key string) int {
|
|
return hashSlot(key)
|
|
}
|