Skip to content

Commit

Permalink
Merge pull request #835 from libp2p/fix/autorelay-doc
Browse files Browse the repository at this point in the history
doc(options): fix autorelay documentation
  • Loading branch information
Stebalien committed Mar 9, 2020
2 parents 6163463 + 8248da9 commit 4bbf43e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,11 @@ func DisableRelay() Option {
}
}

// EnableAutoRelay configures libp2p to enable the AutoRelay subsystem. It is an
// error to enable AutoRelay without enabling relay (enabled by default) and
// routing (not enabled by default).
// EnableAutoRelay configures libp2p to enable the AutoRelay subsystem.
//
// Dependencies:
// * Relay (enabled by default)
// * Routing (to find relays), or StaticRelays/DefaultStaticRelays.
//
// This subsystem performs two functions:
//
Expand Down

0 comments on commit 4bbf43e

Please sign in to comment.