mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
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…
x
Reference in New Issue
Block a user