adds json tags to StoredMsg

This gets sent as response to JetStreamMsgBySeqPre

Signed-off-by: R.I.Pienaar <rip@devco.net>
This commit is contained in:
R.I.Pienaar
2020-01-04 11:51:12 +01:00
committed by Derek Collison
parent 54e2de912f
commit 05ca8f4346

View File

@@ -422,9 +422,9 @@ type jsPubMsg struct {
}
type StoredMsg struct {
Subject string
Data []byte
Time time.Time
Subject string `json:"subject"`
Data []byte `json:"data"`
Time time.Time `json:"time"`
}
// TODO(dlc) - Maybe look at onering instead of chan - https://github.com/pltr/onering