Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncConfig ¶
type SyncConfig struct { Local struct { Path string `yaml:"path"` } `yaml:"local"` Remote struct { Endpoint string `yaml:"endpoint"` UseSSL bool `yaml:"use_ssl"` SecretId string `yaml:"secret_id"` SecretKey string `yaml:"secret_key"` Bucket string `yaml:"bucket"` Region string `yaml:"region"` Path string `yaml:"path"` } `yaml:"remote"` Sync struct { RealTime struct { Enable bool `yaml:"enable"` HotDelay int `yaml:"hot_delay"` } `yaml:"real_time"` CheckJob struct { Enable bool `yaml:"enable"` Interval int `yaml:"interval"` StartAt string `yaml:"start_at"` } `yaml:"check_job"` Symlink string `yaml:"symlink"` Ignore []string `yaml:"ignore,omitempty"` } `yaml:"sync"` Log []log.OutputConfig `yaml:"log"` }
SyncConfig 同步配置
Click to show internal directories.
Click to hide internal directories.