Sort fields

This commit is contained in:
Ben Adrian Sarmiento
2024-07-11 21:56:09 +02:00
parent 8747fbc9b1
commit d8e6b2523b

View File

@@ -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"`
}