blob: 33bc116aee4ae12401f98d359c9e99a064852336 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package xsapiv1
// APIConfig parameters (json format) of /config command
type APIConfig struct {
ServerUID string `json:"id"`
Version string `json:"version"`
APIVersion string `json:"apiVersion"`
VersionGitTag string `json:"gitTag"`
SupportedSharing map[string]bool `json:"supportedSharing"`
Builder BuilderConfig `json:"builder"`
}
// BuilderConfig represents the builder container configuration
type BuilderConfig struct {
IP string `json:"ip"`
Port string `json:"port"`
SyncThingID string `json:"syncThingID"`
}
|