gorrent/settings.go

20 lines
409 B
Go
Raw Normal View History

2022-03-20 00:11:19 +03:00
package gorrent
type Settings struct {
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{}
}