...
1syntax = "proto3";
2
3package clusterpb;
4import "gogoproto/gogo.proto";
5
6option (gogoproto.marshaler_all) = true;
7option (gogoproto.sizer_all) = true;
8option (gogoproto.unmarshaler_all) = true;
9option (gogoproto.goproto_getters_all) = false;
10
11message Part {
12 string key = 1;
13 bytes data = 2;
14}
15
16message FullState {
17 repeated Part parts = 1 [(gogoproto.nullable) = false];
18}
19
20message MemberlistMessage {
21 string version = 1;
22 enum Kind {
23 STREAM = 0;
24 PACKET = 1;
25 }
26 Kind kind = 2;
27 string from_addr = 3;
28 bytes msg = 4;
29}
View as plain text