add comment
This commit is contained in:
parent
a7e27a4ff1
commit
d02c7c9518
|
@ -35,7 +35,7 @@ type ClientTrackerConfig struct {
|
||||||
|
|
||||||
type ClientDhtConfig struct {
|
type ClientDhtConfig struct {
|
||||||
// Don't create a DHT.
|
// Don't create a DHT.
|
||||||
NoDHT bool `long:"disable-dht"`
|
NoDHT bool `long:"disable-dht"` // default false, use dht to find more peers
|
||||||
DhtStartingNodes func(network string) dht.StartingNodesGetter
|
DhtStartingNodes func(network string) dht.StartingNodesGetter
|
||||||
// Called for each anacrolix/dht Server created for the Client.
|
// Called for each anacrolix/dht Server created for the Client.
|
||||||
ConfigureAnacrolixDhtServer func(*dht.ServerConfig)
|
ConfigureAnacrolixDhtServer func(*dht.ServerConfig)
|
||||||
|
|
Loading…
Reference in New Issue