Allow configuring hosts

This commit is contained in:
Ben Sarmiento
2023-11-07 14:14:33 +01:00
parent 1349de7d3f
commit 3cc5044bc5
5 changed files with 19 additions and 64 deletions

View File

@@ -15,6 +15,7 @@ type ConfigInterface interface {
GetRefreshEverySeconds() int
GetCacheTimeHours() int
EnableRepair() bool
GetHost() string
GetPort() string
GetDirectories() []string
MeetsConditions(directory, torrentID, torrentName string, fileNames []string) bool