From 7a1ec99729629666f84a6ac4be24355e8799a16c Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期五, 02 四月 2021 11:10:32 +0800 Subject: [PATCH] rename --- 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