go-ipfs-config: feat: add private routing config field
That way, users can enable/disable/configure routing on their local network.
Steven Allen committed
Apr 6, 2020 at 15:42 UTC
043f20c1f8cf4b2039cd64254f992ce8c1a13f9b
1 file changed
+4
config/routing.go
+4
@@ -4,4 +4,8 @@ package config
4
type Routing struct {
5
// Type sets default daemon routing mode.
6
Type string
7
+
8
+ // PrivateType sets the routing mode for private networks. If unset,
9
+ // Type will be used.
10
+ PrivateType string
11
}