From 9fd0dd00cb7d97d54ad3c809e3c0dbf4e5692563 Mon Sep 17 00:00:00 2001 From: mountain Date: Tue, 11 Jul 2023 12:57:57 +0900 Subject: [PATCH] =?UTF-8?q?mesasge=EC=97=90=20=ED=83=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wshandler/wshandler.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wshandler/wshandler.go b/wshandler/wshandler.go index c51ebb4..58f54b8 100644 --- a/wshandler/wshandler.go +++ b/wshandler/wshandler.go @@ -32,11 +32,13 @@ type UpstreamMessage struct { Accid primitive.ObjectID Target string Body []byte + Tag []string } type DownstreamMessage struct { - Alias string - Body string + Alias string `json:",omitempty"` + Body string `json:",omitempty"` + Tag []string `json:",omitempty"` } type commandType string