From f8c281d054f6788b8c348e0a8aac574b48834c8e Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 30 五月 2019 13:50:34 +0800
Subject: [PATCH] rm protomsg type

---
 server.go |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/server.go b/server.go
index 770732b..1b8044b 100644
--- a/server.go
+++ b/server.go
@@ -6,8 +6,6 @@
 	"strings"
 	"time"
 
-	"basic.com/pubsub/protomsg.git"
-
 	"golang.org/x/net/context"
 
 	"nanomsg.org/go-mangos"
@@ -240,6 +238,6 @@
 	s.publisher.Publish(s.nodes.ToSlice())
 }
 
-func (d *DiscoveryServer) PublishMsg(msg protomsg.PublishMessage){
-	d.services.publisher.Publish([]string{string(msg)})
+func (d *DiscoveryServer) PublishMsg(msg string){
+	d.services.publisher.Publish([]string{msg})
 }
\ No newline at end of file

--
Gitblit v1.8.0