FedP2P/config.go

19 lines
355 B
Go

package torrent
import (
"bitbucket.org/anacrolix/go.torrent/dht"
)
type Config struct {
DataDir string
ListenAddr string
DisableTrackers bool
DownloadStrategy DownloadStrategy
NoDHT bool
DHTConfig *dht.ServerConfig
NoUpload bool
PeerID string
DisableUTP bool
DisableTCP bool
}