From d3865ba32965a327efcfea052ccac16864cfc71c Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 07 九月 2021 15:15:33 +0800 Subject: [PATCH] test recvSub msg --- requestTopic.go | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/requestTopic.go b/requestTopic.go index a6abdac..2ee903a 100644 --- a/requestTopic.go +++ b/requestTopic.go @@ -1,6 +1,11 @@ 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 { -- Gitblit v1.8.0