commit abf25e9aa58cf6e66f74f6512603a99336a13d32
Author: Wim <wim@42.be>
Date: Mon Aug 28 23:03:45 2017 +0000
diff --git a/gateway/gateway.go b/gateway/gateway.go
index 1d11281..aca8ece 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -238 +236 @@ type Gateway struct {
Message chan config.Message
Name string
Messages *lru.Cache
- //map[string][]*BrMsg
- lruCache *lru.Cache
}
type BrMsgID struct {
@@ -1887 +1866 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
fmt.Println(err)
}
// append the message ID (mID) from this bridge (dest) to our brMsgIDs slice
- log.Debugf("message ID: %s\n", mID)
brMsgIDs = append(brMsgIDs, &BrMsgID{dest, mID})
}
return brMsgIDs