Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
SyncDir string `yaml:"sync_dir"`
Destinations []Destination `yaml:"destinations"`
Devices map[string]DeviceConfig `yaml:"devices,omitempty"`
MediaPaths []string `yaml:"media_paths"`
AdbPath string `yaml:"adb_path,omitempty"`
RclonePath string `yaml:"rclone_path,omitempty"`
}
Config is the top-level configuration.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a config with sensible defaults.
func (*Config) ExpandSyncDir ¶
ExpandSyncDir expands ~ in the sync dir path.
type Destination ¶
Destination represents an rclone sync destination.
type DeviceConfig ¶
type DeviceConfig struct {
Nickname string `yaml:"nickname,omitempty"`
WiFiIP string `yaml:"wifi_ip,omitempty"`
}
DeviceConfig stores per-device settings.
Click to show internal directories.
Click to hide internal directories.