From ea254bbfda76377a603e7c272154f8adf667201d Mon Sep 17 00:00:00 2001 From: Ilya Sinelnikov Date: Mon, 7 May 2018 20:28:11 +0300 Subject: [PATCH] Add Watch func to UniversalClient interface --- universal.go | 1 + 1 file changed, 1 insertion(+) diff --git a/universal.go b/universal.go index 28df2c79..5838d7a5 100644 --- a/universal.go +++ b/universal.go @@ -117,6 +117,7 @@ func (o *UniversalOptions) simple() *Options { // applications locally. type UniversalClient interface { Cmdable + Watch(fn func(*Tx) error, keys ...string) error Process(cmd Cmder) error WrapProcess(fn func(oldProcess func(cmd Cmder) error) func(cmd Cmder) error) Subscribe(channels ...string) *PubSub