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结构,减少消息解封装 --- broker.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/broker.go b/broker.go index 48d3d72..cc78e6e 100644 --- a/broker.go +++ b/broker.go @@ -9,5 +9,9 @@ //鍙戝竷鍒拌繙绋嬫満鍣� PublishNet(nodes []bhomebus.NetNode, topic string, msg []byte) error + //璁㈤槄涓�浜涗富棰�,鍙姩鎬佹柊澧� Subscribe(topics []string) + + //娉ㄩ攢璁㈤槄鐨勪富棰� + DeSub(topics []string) } -- Gitblit v1.8.0