kubo/config/gateway.go
2019-01-03 23:09:15 +01:00

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
}