changed ids to base64 format.

This commit is contained in:
didier amyot committed 2015-07-06 10:43:33 -04:00
1 parent af69e728a2
commit 0c8e5ed294
7 files changed
+115 -56

No files matched your search

+1 -2
View File
@@ -10,7 +10,6 @@ import (
"github.com/gdamore/mangos/protocol/sub"
"github.com/gdamore/mangos/transport/ipc"
"github.com/gdamore/mangos/transport/tcp"
"gopkg.in/mgo.v2/bson"
)
type NanoMsgSubscriber struct {
@@ -26,7 +25,7 @@ func (s *NanoMsgSubscriber) callUpdateHandlerFunction(f shared.UpdateHandlerFunc
}
}
func (s *NanoMsgSubscriber) Subscribe(abtestId bson.ObjectId, update shared.UpdateHandlerFunc) error {
func (s *NanoMsgSubscriber) Subscribe(abtestId string, update shared.UpdateHandlerFunc) error {
var sock mangos.Socket
var err error
var msg []byte