1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Add scan iterator.

This commit is contained in:
Dimitrij Denissenko
2016-04-13 09:52:47 +01:00
committed by Vladimir Mihailenco
parent 889409de38
commit 7456a0e473
6 changed files with 216 additions and 18 deletions

View File

@ -146,12 +146,13 @@ type Client struct {
func newClient(opt *Options, pool pool.Pooler) *Client {
base := baseClient{opt: opt, connPool: pool}
return &Client{
client := &Client{
baseClient: base,
commandable: commandable{
process: base.process,
},
}
return client
}
// NewClient returns a client to the Redis Server specified by Options.