2016-07-04 10:40:29 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package discover;
|
|
|
|
|
2018-12-18 11:36:38 +00:00
|
|
|
import "repos/protobuf/gogoproto/gogo.proto";
|
2016-07-04 10:40:29 +00:00
|
|
|
|
|
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
option (gogoproto.sizer_all) = false;
|
|
|
|
option (gogoproto.protosizer_all) = true;
|
2019-01-14 10:53:36 +00:00
|
|
|
option (gogoproto.goproto_unkeyed_all) = false;
|
|
|
|
option (gogoproto.goproto_unrecognized_all) = false;
|
|
|
|
option (gogoproto.goproto_sizecache_all) = false;
|
2016-07-04 10:40:29 +00:00
|
|
|
|
|
|
|
message Announce {
|
2016-10-29 21:56:24 +00:00
|
|
|
bytes id = 1 [(gogoproto.customname) = "ID", (gogoproto.customtype) = "github.com/syncthing/syncthing/lib/protocol.DeviceID", (gogoproto.nullable) = false];
|
2016-07-04 11:16:48 +00:00
|
|
|
repeated string addresses = 2;
|
|
|
|
int64 instance_id = 3 [(gogoproto.customname) = "InstanceID"];
|
2016-07-04 10:40:29 +00:00
|
|
|
}
|