mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Clarify thread safety. Fixes #166.
This commit is contained in:
@ -15,7 +15,8 @@ func (c *Client) Publish(channel, message string) *IntCmd {
|
||||
}
|
||||
|
||||
// PubSub implements Pub/Sub commands as described in
|
||||
// http://redis.io/topics/pubsub.
|
||||
// http://redis.io/topics/pubsub. It's NOT safe for concurrent use by
|
||||
// multiple goroutines.
|
||||
type PubSub struct {
|
||||
*baseClient
|
||||
|
||||
|
Reference in New Issue
Block a user