@cryptotaxi247 / kubo / commits / 2217c9763

go-ipfs-config: repo/config: Added Gateway options to config

Matt Bell committed Jan 26, 2015 at 23:17 UTC 2217c97632f4d20e32c72f337e1e62d268b8ff1b
2 files changed +7
config/config.go
+1
@@ -23,6 +23,7 @@ type Config struct {
23 Version Version // local node's version management
24 Bootstrap []BootstrapPeer // local nodes's bootstrap peers
25 Tour Tour // local node's tour position
26 + Gateway Gateway // local node's gateway server options
27 }
28
29 const (
config/gateway.go new
+6
@@ -0,0 +1,6 @@
1 +package config
2 +
3 +// Gateway contains options for the HTTP gateway server.
4 +type Gateway struct {
5 + RootRedirect string
6 +}