add WrapProcess to UniversalClient interface (#728)

This commit is contained in:
Pavel Prokopenko 2018-03-06 09:15:14 +02:00 committed by Vladimir Mihailenco
parent 7acec74c59
commit 0082bdcd4b
1 changed files with 1 additions and 0 deletions

View File

@ -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