Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Timestamp int64 `json:"timestamp,omitempty"` MsgId string `json:"msg_id,omitempty"` ResponseChannel string `json:"response_channel,omitempty"` Channel string `json:"channel,omitempty"` Route string `json:"route,omitempty"` From string `json:"from,omitempty"` To string `json:"to,omitempty"` Payload interface{} `json:"payload,omitempty"` Err error `json:"err,omitempty"` Meta map[string][]string `json:"meta,omitempty"` }
func FromNatsMsg ¶
Click to show internal directories.
Click to hide internal directories.