Unsubscribe unsubscribes the connection from the given channels, or from all of them if none is given.
// Unsubscribe from all connections. This will cause the receiving // goroutine to exit. psc.Unsubscribe() psc.PUnsubscribe() }()
Unsubscribe is referenced in 41 repositoriesgithub.com/garyburd/redigo
- 1 reference in redis/pubsub_test.go
- 3 references in gortechs.go
- 2 references in redis.go