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

This commit is contained in:
Matt Bell 2015-01-26 23:17:58 -08:00 committed by Juan Batiz-Benet
parent 69d7848d2e
commit 2217c97632
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@ type Config struct {
Version Version // local node's version management
Bootstrap []BootstrapPeer // local nodes's bootstrap peers
Tour Tour // local node's tour position
Gateway Gateway // local node's gateway server options
}
const (

6
config/gateway.go Normal file
View File

@ -0,0 +1,6 @@
package config
// Gateway contains options for the HTTP gateway server.
type Gateway struct {
RootRedirect string
}