Skip to content

Commit

Permalink
Merge pull request #6309 from lidel/patch-2
Browse files Browse the repository at this point in the history
docs: fix Routing section
  • Loading branch information
Stebalien authored May 8, 2019
2 parents bfd4ec5 + 4c6268e commit fdbd501
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Available profiles:
- [`Bootstrap`](#bootstrap)
- [`Datastore`](#datastore)
- [`Discovery`](#discovery)
- [`Routing`](#routing)
- [`Gateway`](#gateway)
- [`Identity`](#identity)
- [`Ipns`](#ipns)
Expand Down Expand Up @@ -214,12 +215,27 @@ Default: `true`
- `Interval`
A number of seconds to wait between discovery checks.

- `Routing`

## `Routing`
Contains options for content routing mechanisms.

- `Type`
Content routing mode. Can be overridden with daemon `--routing` flag.
Valid modes are:
- `dht` (default)
- `dhtclient`
- `none`

**Example:**

```json
{
"Routing": {
"Type": "dhtclient"
}
}
```


## `Gateway`
Options for the HTTP gateway.
Expand Down

0 comments on commit fdbd501

Please sign in to comment.