valkey-io / valkey-go

A fast Golang Valkey client that supports Client Side Caching and Auto Pipelining.
Apache License 2.0
158 stars 10 forks source link

Add support for pubsub in adapter of valkey-go similar to go-redis pubsub.go #10

Closed royatanu94 closed 3 months ago

royatanu94 commented 4 months ago

Discussed in https://github.com/orgs/valkey-io/discussions/797

Originally posted by **royatanu94** July 17, 2024 Currently we have used : rcOptions = &redis.UniversalOptions{ rc = redis.NewUniversalClient(rcOptions) and func GetRedisClient(conf *RedisConfig) (redis.UniversalClient, error) What will be the compatible code for above two in valkey-go?
rueian commented 4 months ago

Hi all, the PubSub adapter has been merged into the latest version.