mirror of https://github.com/go-redis/redis.git
Merge pull request #683 from sudhirj/feature/universal_subscriptions
Added subscription interfaces to universal client
This commit is contained in:
commit
9c885d5ba8
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue