From f3d97adc87f0682b9f53599815d7db67e7db754d Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 26 一月 2021 11:23:13 +0800
Subject: [PATCH] regSock sendandrecv添加超时
---
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