1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Add Pipeline to Cmdable.

This commit is contained in:
Vladimir Mihailenco
2016-09-27 09:24:14 +00:00
parent 1c402b7989
commit 0b706418d9
4 changed files with 9 additions and 2 deletions

View File

@ -150,6 +150,8 @@ type Client struct {
cmdable
}
var _ Cmdable = (*Client)(nil)
func newClient(opt *Options, pool pool.Pooler) *Client {
base := baseClient{opt: opt, connPool: pool}
client := &Client{