FedP2P/config.go

24 lines
515 B
Go
Raw Normal View History

2014-08-21 16:07:06 +08:00
package torrent
import (
"bitbucket.org/anacrolix/go.torrent/dht"
)
2014-08-21 16:07:06 +08:00
type Config struct {
DataDir string
ListenAddr string
DisableTrackers bool
DownloadStrategy DownloadStrategy
NoDHT bool
DHTConfig *dht.ServerConfig
NoUpload bool
PeerID string
DisableUTP bool
DisableTCP bool
NoDefaultBlocklist bool
// Defaults to "$HOME/.config/torrent"
ConfigDir string
DisableMetainfoCache bool
TorrentDataOpener
2014-08-21 16:07:06 +08:00
}