1
0
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:
Vladimir Mihailenco 2017-12-15 15:10:18 +02:00
commit 9c885d5ba8

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
}