From b9b16b451361341b990d3bbb78fc2d53b74202a0 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 01 七月 2021 17:00:09 +0800
Subject: [PATCH] add SubscribeNet

---
 requestTopic.go |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/requestTopic.go b/requestTopic.go
index b3233fd..2ee903a 100644
--- a/requestTopic.go
+++ b/requestTopic.go
@@ -1,8 +1,13 @@
-package mc
+package bhomeclient
 
-type MicroFunc func(req *Request) *Reply
+type WrapperHandler struct {
+	Bk 		Broker
+	Tr 		Transport
+}
+
+type MicroFunc func(h *WrapperHandler, req *Request) *Reply
 
 
 type Transport interface {
-	RequestTopic(string, Request) (*Reply,error)
+	RequestTopic(string, Request, int) (*Reply,error)
 }
\ No newline at end of file

--
Gitblit v1.8.0