From 0120491f6551545b19114de049713c7e928ebc01 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 20 一月 2021 15:43:04 +0800
Subject: [PATCH] 去掉CommonReply,统一使用Reply结构,减少消息解封装
---
requestTopic.go | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/requestTopic.go b/requestTopic.go
index b3233fd..a6abdac 100644
--- a/requestTopic.go
+++ b/requestTopic.go
@@ -1,8 +1,8 @@
-package mc
+package bhomeclient
type MicroFunc func(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