redis/export_test.go

16 lines
208 B
Go
Raw Normal View History

2013-11-07 18:20:15 +04:00
package redis
import "net"
2013-11-07 18:20:15 +04:00
func (c *baseClient) Pool() pool {
return c.connPool
}
2015-03-23 11:23:33 +03:00
func (cn *conn) SetNetConn(netcn net.Conn) {
cn.netcn = netcn
}
2015-03-23 11:23:33 +03:00
func HashSlot(key string) int {
return hashSlot(key)
}