1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-25 00:01:00 +03:00

Rewrite PubSub example.

This commit is contained in:
Vladimir Mihailenco
2015-05-23 14:15:05 +03:00
parent cdfab22180
commit f79308a137
2 changed files with 31 additions and 10 deletions

View File

@@ -5,7 +5,8 @@ import (
"time"
)
// Not thread-safe.
// PubSub implements Pub/Sub commands as described in
// http://redis.io/topics/pubsub.
type PubSub struct {
*baseClient
}