gorrent/settings.go

20 lines
409 B
Go

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
}
func NewSettings() *Settings {
return &Settings{}
}