Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Port uint `yaml:"Port" validate:"nonzero"` AggregatorPort uint `yaml:"AggregatorPort" validate:"nonzero"` Username string `yaml:"Username" validate:"nonzero"` Password string `yaml:"Password" validate:"nonzero"` ForceHttps bool `yaml:"ForceHttps"` ProxyURIs []string `yaml:"ProxyURIs"` }
type Config ¶
type Config struct { Proxy Proxy `yaml:"Proxy" validate:"nonzero"` API API `yaml:"API" validate:"nonzero"` Profiling Profiling `yaml:"Profiling"` StaticDir string `yaml:"StaticDir" validate:"nonzero"` PidFile string `yaml:"PidFile" validate:"nonzero"` HealthPort uint `yaml:"HealthPort" validate:"nonzero"` ConsulCluster string `yaml:"ConsulCluster"` ConsulServiceName string `yaml:"ConsulServiceName"` Logger lager.Logger }
type Proxy ¶
type Proxy struct { Port uint `yaml:"Port" validate:"nonzero"` Backends []Backend `yaml:"Backends" validate:"min=1"` HealthcheckTimeoutMillis uint `yaml:"HealthcheckTimeoutMillis" validate:"nonzero"` ShutdownDelaySeconds uint `yaml:"ShutdownDelaySeconds"` }
func (Proxy) HealthcheckTimeout ¶
func (Proxy) ShutdownDelay ¶
Click to show internal directories.
Click to hide internal directories.