1
0
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:
Vladimir Mihailenco
2015-05-02 16:19:22 +03:00
parent f7a1636422
commit 121cfc5792
9 changed files with 12 additions and 24 deletions

View File

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