Revert "hotfix(dep) duplicates TEMP DONT MERGE TO MASTER"
This reverts commit 49004e9743110ba69c07852c3a105dac2e01e1c4.
Brian Tiger Chow committed
Nov 21, 2014 at 18:23 UTC
e393edcc2859aa3ae7d3dd99ab7584d11b5e59fc
1 file changed
-8
Godeps/_workspace/src/github.com/tuxychandru/pubsub/pubsub.go
-8
@@ -66,14 +66,6 @@ func (ps *PubSub) AddSub(ch chan interface{}, topics ...string) {
66
ps.cmdChan <- cmd{op: sub, topics: topics, ch: ch}
67
}
68
69
-// AddSubOnce adds one-time subscriptions to an existing channel.
70
-// For each topic, a message will be sent once.
71
-func (ps *PubSub) AddSubOnce(ch chan interface{}, topics ...string) {
72
- for _, t := range topics {
73
- ps.cmdChan <- cmd{op: subOnce, topics: []string{t}, ch: ch}
74
- }
75
-}
76
-
69
// Pub publishes the given message to all subscribers of
70
// the specified topics.
71
func (ps *PubSub) Pub(msg interface{}, topics ...string) {