|
@@ -127,7 +127,7 @@
|
|
|
// send and flush a subscription management command. The receive method
|
|
// send and flush a subscription management command. The receive method
|
|
|
// converts a pushed message to convenient types for use in a type switch.
|
|
// converts a pushed message to convenient types for use in a type switch.
|
|
|
//
|
|
//
|
|
|
-// psc := redis.PubSubConn{c}
|
|
|
|
|
|
|
+// psc := redis.PubSubConn{Conn: c}
|
|
|
// psc.Subscribe("example")
|
|
// psc.Subscribe("example")
|
|
|
// for {
|
|
// for {
|
|
|
// switch v := psc.Receive().(type) {
|
|
// switch v := psc.Receive().(type) {
|