feudal/message/message.proto

20 lines
325 B
Protocol Buffer
Raw Normal View History

2024-04-04 19:43:46 +00:00
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
syntax = "proto3";
package message;
message Body {
enum EncodingType {
NONE = 0;
ERROR = 1;
PBSERIALIZED = 2;
GOBSERIALIZED = 3;
JSONSERIALIZED = 4;
}
EncodingType type = 1;
bytes key = 2;
bytes value = 3;
}