moove user from propalgation to Nats Response
This commit is contained in:
@@ -141,7 +141,6 @@ func DataTypeList() []DataType {
|
|||||||
|
|
||||||
type PropalgationMessage struct {
|
type PropalgationMessage struct {
|
||||||
DataType int `json:"datatype"`
|
DataType int `json:"datatype"`
|
||||||
User string `json:"user"`
|
|
||||||
Action PubSubAction `json:"action"`
|
Action PubSubAction `json:"action"`
|
||||||
Payload []byte `json:"payload"`
|
Payload []byte `json:"payload"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import (
|
|||||||
type NATSResponse struct {
|
type NATSResponse struct {
|
||||||
FromApp string `json:"from_app"`
|
FromApp string `json:"from_app"`
|
||||||
Datatype DataType `json:"datatype"`
|
Datatype DataType `json:"datatype"`
|
||||||
|
User string `json:"user"`
|
||||||
Method int `json:"method"`
|
Method int `json:"method"`
|
||||||
Payload []byte `json:"payload"`
|
Payload []byte `json:"payload"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user