From 24b38e4db28a8addefa1f92dc79cf950649b2bc2 Mon Sep 17 00:00:00 2001 From: guzeng Date: Wed, 16 Jun 2021 13:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B6=88=E6=81=AF=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common.go b/common.go index 1d47185..a49d685 100644 --- a/common.go +++ b/common.go @@ -2,6 +2,12 @@ package rabbitmqrpc const DES_KEY = "mqbitrab" +type MsgBody struct { + Exchange string + Key string + Data string +} + func rpc_server_conn(url ...string) (*RabbitmqServiceClient, error) { var wx_rpc_url string = "127.0.0.1:7955"