2022-03-20 00:11:19 +03:00
|
|
|
package gorrent
|
|
|
|
|
|
|
|
type Settings struct {
|
2022-04-30 20:19:28 +03:00
|
|
|
DownloadPath string
|
|
|
|
HttpBindHost string
|
|
|
|
HttpBindPort int
|
|
|
|
ListenPort int
|
|
|
|
MaxConnections int
|
|
|
|
TorrentPath string
|
|
|
|
Proxy string
|
|
|
|
KeepFiles bool
|
|
|
|
Seed bool
|
|
|
|
AcceptPeerConnections bool
|
|
|
|
Debug bool
|
2022-03-20 00:11:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewSettings() *Settings {
|
|
|
|
return &Settings{}
|
|
|
|
}
|