From b0598b2b53dc72ca7e259b993c1a13cf7de1e59a Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 20 五月 2021 10:01:03 +0800
Subject: [PATCH] bhsgo实现QueryProcs

---
 requestTopic.go |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/requestTopic.go b/requestTopic.go
index f370bbb..2ee903a 100644
--- a/requestTopic.go
+++ b/requestTopic.go
@@ -1,8 +1,13 @@
 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