Documentation ¶
Index ¶
Constants ¶
View Source
const SyncoYamlFile = ".synco.yml"
Variables ¶
This section is empty.
Functions ¶
func WriteToFile ¶
func WriteToFile(syncoConfig SyncoConfig) error
Types ¶
type SyncoConfig ¶
type SyncoConfig struct {
Hosts []SyncoHostConfig `yaml:"hosts"`
}
SyncoConfig is the main structure which is serialized from/to .synco.yml files. It contains client-side config (for `synco receive`).
func ReadFromYaml ¶
func ReadFromYaml() (SyncoConfig, error)
type SyncoHostConfig ¶
type SyncoHostConfig struct {
BaseUrl string `yaml:"baseUrl"`
}
Click to show internal directories.
Click to hide internal directories.