Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
Removes stale reference to 'Build'
Browse files Browse the repository at this point in the history
  • Loading branch information
eelcocramer committed Oct 20, 2015
1 parent 82e8fe1 commit 83c7569
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@ ipns entries. If you wish to implement a separate routing system for your node
to get this information through, just make an object that implements the
IpfsRouting interface and pass the build configuration a RoutingOption for it.

### Ipfs Configuration Options

### Context
If youve never dealt with contexts before, I highly recommend you first go read
If you have never dealt with contexts before, I highly recommend you first go read
[this wonderful explanation](https://blog.golang.org/context). Now, the context
we pass into `Build` is the "master" context to the entire ipfs node, cancelling
that context will shut down every single subprocess that ipfs runs.
we pass into the new `Node` we are creating is the "master" context to the entire
ipfs node, cancelling that context will shut down every single subprocess that ipfs
runs.

The easiest way to set up a context for an ipfs node is something like this:
```
Expand Down

0 comments on commit 83c7569

Please sign in to comment.