all: Use protobuf to generate config structs (fixes #6734) (#6900)

This commit is contained in:
Audrius Butkevicius
2020-08-25 08:11:14 +02:00
committed by GitHub
parent 5b953033c7
commit d507d932b8
84 changed files with 3807 additions and 542 deletions
+24
View File
@@ -0,0 +1,24 @@
syntax = "proto2";
package ext;
import "google/protobuf/descriptor.proto";
option go_package = "github.com/syncthing/syncthing/proto/ext";
extend google.protobuf.MessageOptions {
optional bool xml_tags = 74001;
}
extend google.protobuf.FieldOptions {
optional string xml = 75005;
optional string json = 75006;
optional string default = 75007;
optional bool restart = 75008;
optional bool device_id = 75009;
optional string goname = 75010;
}
extend google.protobuf.EnumValueOptions {
optional string enumgoname = 76010;
}