diff --git a/tools/enums.go b/tools/enums.go index 72aa2a0..1bcda51 100644 --- a/tools/enums.go +++ b/tools/enums.go @@ -139,6 +139,12 @@ func DataTypeList() []DataType { LIVE_DATACENTER, LIVE_STORAGE, BILL, NATIVE_TOOL} } +type PropalgationMessage struct { + User string `json:"user"` + Action PubSubAction `json:"action"` + Payload []byte `json:"payload"` +} + type PubSubAction int const (