mirror of https://github.com/go-redis/redis.git
add WrapProcess to UniversalClient interface (#728)
This commit is contained in:
parent
7acec74c59
commit
0082bdcd4b
|
@ -114,6 +114,7 @@ func (o *UniversalOptions) simple() *Options {
|
|||
type UniversalClient interface {
|
||||
Cmdable
|
||||
Process(cmd Cmder) error
|
||||
WrapProcess(fn func(oldProcess func(cmd Cmder) error) func(cmd Cmder) error)
|
||||
Subscribe(channels ...string) *PubSub
|
||||
PSubscribe(channels ...string) *PubSub
|
||||
Close() error
|
||||
|
|
Loading…
Reference in New Issue