summaryrefslogtreecommitdiff
path: root/pkg/pubsub/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pubsub/message.go')
-rw-r--r--pkg/pubsub/message.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/pkg/pubsub/message.go b/pkg/pubsub/message.go
deleted file mode 100644
index 74348722..00000000
--- a/pkg/pubsub/message.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package pubsub
-
-type Message struct {
- // Command (join, leave, headers)
- Command string `json:"command"`
-
- // Broker (redis, memory)
- Broker string `json:"broker"`
-
- // Topic message been pushed into.
- Topics []string `json:"topic"`
-
- // Payload to be broadcasted
- Payload []byte `json:"payload"`
-}