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