diff options
Diffstat (limited to 'pkg/pubsub/message.fbs')
-rw-r--r-- | pkg/pubsub/message.fbs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/pubsub/message.fbs b/pkg/pubsub/message.fbs new file mode 100644 index 00000000..7e975894 --- /dev/null +++ b/pkg/pubsub/message.fbs @@ -0,0 +1,14 @@ +namespace message; + +table Message { + command:string; + broker:string; + topics:[string]; + payload:[byte]; +} + +table Messages { + messages:[Message]; +} + +root_type Messages; |