1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-16 09:23:06 +03:00
go-redis/export_test.go
2015-10-13 12:10:04 +03:00

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)
}