repo/config: Added Gateway options to config
Matt Bell committed
Jan 26, 2015 at 23:17 UTC
47774c5311080f5cd73a7ce2af965067d50e5f6b
2 files changed
+7
repo/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 (
repo/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
+}