Add flags and options for future extensibility (fixes #1027)
This commit is contained in:
5
Godeps/_workspace/src/github.com/syncthing/protocol/message.go
generated
vendored
5
Godeps/_workspace/src/github.com/syncthing/protocol/message.go
generated
vendored
@@ -101,12 +101,15 @@ func (o *ClusterConfigMessage) GetOption(key string) string {
|
||||
type Folder struct {
|
||||
ID string // max:64
|
||||
Devices []Device
|
||||
Flags uint32
|
||||
Options []Option // max:64
|
||||
}
|
||||
|
||||
type Device struct {
|
||||
ID []byte // max:32
|
||||
Flags uint32
|
||||
MaxLocalVersion int64
|
||||
Flags uint32
|
||||
Options []Option // max:64
|
||||
}
|
||||
|
||||
type Option struct {
|
||||
|
||||
Reference in New Issue
Block a user