From 9f22407d3046da957fa8c32c5b4e5e00b50c5de2 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期一, 08 二月 2021 14:47:55 +0800 Subject: [PATCH] 调整超时为5s --- 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