Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAPIVersion = "1" DefaultLogLevel = "error" )
Config default values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AgentUID string Version string APIVersion string VersionGitTag string Options Options FileConf FileConfig Log *logrus.Logger LogVerboseOut io.Writer }
Config parameters (json format) of /config command
type FileConfig ¶
type FileConfig struct { HTTPPort string `json:"httpPort"` WebAppDir string `json:"webAppDir"` LogsDir string `json:"logsDir"` XDSAPIKey string `json:"xds-apikey"` ServersConf []XDSServerConf `json:"xdsServers"` SThgConf *SyncThingConf `json:"syncthing"` }
type Options ¶ added in v1.0.0
Options set at the command line
type SyncThingConf ¶
Click to show internal directories.
Click to hide internal directories.