X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/da5bdd82beef668f49c2cec09cea85435c0bec34..8cd28eb8cede1c6888cbbcd319a9617304bfc4c1:/hotline/config.go diff --git a/hotline/config.go b/hotline/config.go index aeae275..a7bd81e 100644 --- a/hotline/config.go +++ b/hotline/config.go @@ -3,7 +3,7 @@ package hotline type Config struct { Name string `yaml:"Name" validate:"required,max=50"` // Name used for Tracker registration Description string `yaml:"Description" validate:"required,max=200"` // Description used for Tracker registration - BannerFile string `yaml:"BannerFile"` // Path to banner jpg + BannerFile string `yaml:"BannerFile"` // Path to Banner jpg FileRoot string `yaml:"FileRoot" validate:"required"` // Path to Files EnableTrackerRegistration bool `yaml:"EnableTrackerRegistration"` // Toggle Tracker Registration Trackers []string `yaml:"Trackers" validate:"dive,hostname_port"` // List of trackers that the server should register with @@ -14,4 +14,5 @@ type Config struct { MaxConnectionsPerIP int `yaml:"MaxConnectionsPerIP"` // Max connections per IP PreserveResourceForks bool `yaml:"PreserveResourceForks"` // Enable preservation of file info and resource forks in sidecar files IgnoreFiles []string `yaml:"IgnoreFiles"` // List of regular expression for filtering files from the file list + EnableBonjour bool `yaml:"EnableBonjour"` // Enable service announcement on local network with Bonjour }