Skip to content

Commit

Permalink
add WrapProcess to UniversalClient interface (redis#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
propan authored and vmihailenco committed Mar 6, 2018
1 parent 7acec74 commit 0082bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions universal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0082bdc

Please sign in to comment.