summaryrefslogtreecommitdiff
path: root/pkg/proto/websockets/v1beta/websockets.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-08 22:04:28 +0300
committerValery Piashchynski <[email protected]>2021-06-08 22:04:28 +0300
commitcc271dceb13d3929f0382311dfce3dfed2ce04ce (patch)
tree13c4c3f380d8309b95c9600cc2000d1d5ab87cda /pkg/proto/websockets/v1beta/websockets.proto
parenta8baaaae403a556b6d5d76bc2f7eb46cca7bfb15 (diff)
- Add protobuf versioning
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/proto/websockets/v1beta/websockets.proto')
-rw-r--r--pkg/proto/websockets/v1beta/websockets.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/proto/websockets/v1beta/websockets.proto b/pkg/proto/websockets/v1beta/websockets.proto
new file mode 100644
index 00000000..a61da93d
--- /dev/null
+++ b/pkg/proto/websockets/v1beta/websockets.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package websockets.v1beta;
+option go_package = "./;websocketsv1beta";
+
+message Message {
+ string command = 1;
+ string broker = 2;
+ repeated string topics = 3;
+ bytes payload = 4;
+}
+
+message Messages {
+ repeated Message messages = 1;
+}