go-ipfs-config: doc(swarm): extend autorelay docs

This commit is contained in:
Steven Allen 2020-06-15 19:57:41 -07:00
parent f74d15eacf
commit f55b515255

View File

@ -27,7 +27,8 @@ type SwarmConfig struct {
//
// When both EnableAutoRelay and EnableRelayHop are set, this go-ipfs node
// will advertise itself as a public relay. Otherwise it will find and use
// advertised public relays.
// advertised public relays when it determines that it's not reachable
// from the public internet.
EnableAutoRelay bool
// Transports contains flags to enable/disable libp2p transports.