From d8e6b2523b5c499cfba541ba7e07dbf9e42663c5 Mon Sep 17 00:00:00 2001 From: Ben Adrian Sarmiento Date: Thu, 11 Jul 2024 21:56:09 +0200 Subject: [PATCH] Sort fields --- internal/config/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/types.go b/internal/config/types.go index 594c0de..bd3c114 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -36,10 +36,10 @@ type ConfigInterface interface { ShouldAutoAnalyzeNewTorrents() bool ShouldCacheNetworkTestResults() bool ShouldForceIPv6() bool + ShouldHideBrokenTorrents() bool ShouldIgnoreRenames() bool ShouldLogRequests() bool ShouldServeFromRclone() bool - ShouldHideBrokenTorrents() bool } type ZurgConfig struct { @@ -55,6 +55,7 @@ type ZurgConfig struct { DownloadTokens []string `yaml:"download_tokens" json:"download_tokens"` DumpTorrentsEveryMins int `yaml:"dump_torrents_every_mins" json:"dump_torrents_every_mins"` ForceIPv6 bool `yaml:"force_ipv6" json:"force_ipv6"` + HideBrokenTorrents bool `yaml:"hide_broken_torrents" json:"hide_broken_torrents"` Host string `yaml:"host" json:"host"` IgnoreRenames bool `yaml:"ignore_renames" json:"ignore_renames"` LogRequests bool `yaml:"log_requests" json:"log_requests"` @@ -72,7 +73,6 @@ type ZurgConfig struct { RetainRDTorrentName bool `yaml:"retain_rd_torrent_name" json:"retain_rd_torrent_name"` RetriesUntilFailed int `yaml:"retries_until_failed" json:"retries_until_failed"` ServeFromRclone bool `yaml:"serve_from_rclone" json:"serve_from_rclone"` - HideBrokenTorrents bool `yaml:"show_broken_torrents" json:"show_broken_torrents"` Username string `yaml:"username" json:"username"` }