feudal/message/message.proto
Matthew Rich c545200ade
Some checks failed
Lint / golangci-lint (push) Failing after 9m57s
Declarative Tests / test (push) Failing after 10s
add initial commit
2024-04-04 12:43:46 -07:00

20 lines
325 B
Protocol Buffer

// 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;
}