diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-21 16:10:19 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-21 16:10:19 -0700 |
| commit | 9067f2344057a247dab19e6ce6756cb7d560d992 (patch) | |
| tree | c59612079b713581463c833ee21e5790a425c848 /hotline/config.go | |
| parent | 21581958c38861f3a62ef7c27d0a8a6f4db2a1f8 (diff) | |
Add support for server banner
Diffstat (limited to 'hotline/config.go')
| -rw-r--r-- | hotline/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/config.go b/hotline/config.go index 55d68e9..d6d801e 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 - BannerID int `yaml:"BannerID"` // Unimplemented + 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 |