mirror of https://github.com/go-redis/redis.git
Merge db2321cb57
into e63669e170
This commit is contained in:
commit
596c06ca98
|
@ -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