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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/requestTopic.go b/requestTopic.go
index f370bbb..a6abdac 100644
--- a/requestTopic.go
+++ b/requestTopic.go
@@ -4,5 +4,5 @@
type Transport interface {
- RequestTopic(string, Request) (*Reply,error)
+ RequestTopic(string, Request, int) (*Reply,error)
}
\ No newline at end of file
--
Gitblit v1.8.0