fa0101bd60
This changes the BEP protocol to use protocol buffer serialization instead of XDR, and therefore also the database format. The local discovery protocol is also updated to be protocol buffer format. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3276 LGTM: AudriusButkevicius
15 lines
348 B
Protocol Buffer
15 lines
348 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package discover;
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
option (gogoproto.sizer_all) = false;
|
|
option (gogoproto.protosizer_all) = true;
|
|
|
|
message Announce {
|
|
bytes id = 1 [(gogoproto.customname) = "ID"];
|
|
repeated string addresses = 2;
|
|
}
|