Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type Configuration ¶
type Configuration struct { APIServer APIServer `json:"api_server"` Registry Registry `json:"registry"` Statsd stats.Statsd `json:"statsd"` ModuleStorage Storage `json:"module_storage"` Transforms Transforms `json:"transforms"` }
func (Configuration) String ¶
func (c Configuration) String() string
type Transforms ¶
type Transforms struct { AutomaticRedirect bool `json:"auto_redirect"` DomainGoGet []struct { Domain string `json:"domain"` } `json:"domain_go-get,omitempty"` DomainRedirects []struct { Original string `json:"original"` Substitution string `json:"substitution"` } `json:"domain_redirects,omitempty"` DomainHeaders []struct { Domain string `json:"domain"` Headers map[string]string `json:"headers"` } `json:"domain_headers,omitempty"` DomainPath []struct { Domain string `json:"domain"` Path string `json:"path"` } `json:"domain_paths,omitempty"` DomainTransport []struct { Domain string `json:"domain"` Transport string `json:"transport"` } `json:"domain_transports,omitempty"` }
Click to show internal directories.
Click to hide internal directories.