mirror of https://github.com/go-redis/redis.git
Merge db2321cb57
into 930d904205
This commit is contained in:
commit
9cb972409f
|
@ -228,6 +228,12 @@ type UniversalClient interface {
|
|||
PoolStats() *PoolStats
|
||||
}
|
||||
|
||||
func (c cmdable) Do(ctx context.Context, args ...interface{}) *Cmd {
|
||||
cmd := NewCmd(ctx, args)
|
||||
_ = c(ctx, cmd)
|
||||
return cmd
|
||||
}
|
||||
|
||||
var (
|
||||
_ UniversalClient = (*Client)(nil)
|
||||
_ UniversalClient = (*ClusterClient)(nil)
|
||||
|
|
Loading…
Reference in New Issue