mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Redis Sentinel support.
This commit is contained in:
@ -118,8 +118,8 @@ func ExamplePubSub() {
|
||||
msg, err = pubsub.Receive()
|
||||
fmt.Println(msg, err)
|
||||
|
||||
// Output: &{subscribe mychannel 1} <nil>
|
||||
// &{mychannel hello} <nil>
|
||||
// Output: subscribe: mychannel <nil>
|
||||
// Message<mychannel: hello> <nil>
|
||||
}
|
||||
|
||||
func ExampleScript() {
|
||||
|
Reference in New Issue
Block a user