mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Remove deprecated funcs.
This commit is contained in:
12
redis.go
12
redis.go
@ -188,15 +188,3 @@ func NewClient(clOpt *Options) *Client {
|
||||
}
|
||||
return newClient(opt, newConnPool(newConnFunc(dialer), opt))
|
||||
}
|
||||
|
||||
// Deprecated. Use NewClient instead.
|
||||
func NewTCPClient(opt *Options) *Client {
|
||||
opt.Network = "tcp"
|
||||
return NewClient(opt)
|
||||
}
|
||||
|
||||
// Deprecated. Use NewClient instead.
|
||||
func NewUnixClient(opt *Options) *Client {
|
||||
opt.Network = "unix"
|
||||
return NewClient(opt)
|
||||
}
|
||||
|
Reference in New Issue
Block a user