@cryptotaxi247 / kubo / commits / 4c6268eaa

docs: update Routing config

Updated docs to reflect that Routing is not a child of Discovery Ref. https://github.com/ipfs/go-ipfs-config/blob/664ccd976e969e78364720ec5f1d1544bc99305f/routing.go#L6 License: MIT Signed-off-by: Marcin Rataj <lidel@lidel.org>

Marcin Rataj committed May 8, 2019 at 21:58 UTC 4c6268eaa3d9138291fc2a272c86592641509fde
1 file changed +17 -1
docs/config.md
+17 -1
@@ -63,6 +63,7 @@ Available profiles:
63 - [`Bootstrap`](#bootstrap)
64 - [`Datastore`](#datastore)
65 - [`Discovery`](#discovery)
66 +- [`Routing`](#routing)
67 - [`Gateway`](#gateway)
68 - [`Identity`](#identity)
69 - [`Ipns`](#ipns)
@@ -214,12 +215,27 @@ Default: `true`
215 - `Interval`
216 A number of seconds to wait between discovery checks.
217
217 -- `Routing`
218 +
219 +## `Routing`
220 +Contains options for content routing mechanisms.
221 +
222 +- `Type`
223 Content routing mode. Can be overridden with daemon `--routing` flag.
224 Valid modes are:
225 - `dht` (default)
226 - `dhtclient`
227 - `none`
228 +
229 +**Example:**
230 +
231 +```json
232 +{
233 + "Routing": {
234 + "Type": "dhtclient"
235 + }
236 +}
237 +```
238 +
239
240 ## `Gateway`
241 Options for the HTTP gateway.