Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloaderConfig ¶
type GeneralConfig ¶
type GeneralConfig struct {
TempFolder string
}
type MasterConfig ¶
type MasterConfig struct { Servers []ServerConfig Downloaders []DownloaderConfig Uploaders []UploaderConfig Syncers []SyncerConfig Streamers []StreamerConfig General GeneralConfig }
func ReadConfig ¶
func ReadConfig(path_to_config string) (MasterConfig, error)
type ServerConfig ¶
type StreamerConfig ¶
type StreamerConfig struct { Name string Source string SourcePath string Target string TargetPath string Enabled bool SleepInterval int Worker int SourceServer ServerConfig TargetServer ServerConfig }
type SyncerConfig ¶
Click to show internal directories.
Click to hide internal directories.