mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
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:
committed by
Derek Collison
parent
54e2de912f
commit
05ca8f4346
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user