ipld-eth-server/vendor/github.com/ipfs/go-ipfs-config/gateway.go

12 lines
279 B
Go

package config
// Gateway contains options for the HTTP gateway server.
type Gateway struct {
HTTPHeaders map[string][]string // HTTP headers to return with the gateway
RootRedirect string
Writable bool
PathPrefixes []string
APICommands []string
NoFetch bool
}