Merge pull request #683 from sudhirj/feature/universal_subscriptions

Added subscription interfaces to universal client
This commit is contained in:
Vladimir Mihailenco 2017-12-15 15:10:18 +02:00
commit 9c885d5ba8
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ func (o *UniversalOptions) simple() *Options {
type UniversalClient interface {
Cmdable
Process(cmd Cmder) error
Subscribe(channels ...string) *PubSub
PSubscribe(channels ...string) *PubSub
Close() error
}