mesasge에 태그 추가

This commit is contained in:
2023-07-11 12:57:57 +09:00
parent d7b26608df
commit 9fd0dd00cb

View File

@ -32,11 +32,13 @@ type UpstreamMessage struct {
Accid primitive.ObjectID Accid primitive.ObjectID
Target string Target string
Body []byte Body []byte
Tag []string
} }
type DownstreamMessage struct { type DownstreamMessage struct {
Alias string Alias string `json:",omitempty"`
Body string Body string `json:",omitempty"`
Tag []string `json:",omitempty"`
} }
type commandType string type commandType string