18 lines
299 B
Protocol Buffer
18 lines
299 B
Protocol Buffer
syntax = "proto3";
|
|
package app.protobuf;
|
|
option go_package=".;wxproto";
|
|
|
|
message BytesExtraHeader {
|
|
int32 field1 = 1;
|
|
int32 field2 = 2;
|
|
}
|
|
|
|
message BytesExtraItem {
|
|
int32 type = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
message BytesExtra {
|
|
BytesExtraHeader header = 1;
|
|
repeated BytesExtraItem items = 3;
|
|
} |