diff options
Diffstat (limited to 'pkg/proto/websockets/v1beta/websockets.proto')
-rw-r--r-- | pkg/proto/websockets/v1beta/websockets.proto | 15 |
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; +} |