Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { BodySize string `json:"bodySize"` ConnectTimeout int `json:"connectTimeout"` SendTimeout int `json:"sendTimeout"` ReadTimeout int `json:"readTimeout"` BuffersNumber int `json:"buffersNumber"` BufferSize string `json:"bufferSize"` CookieDomain string `json:"cookieDomain"` CookiePath string `json:"cookiePath"` NextUpstream string `json:"nextUpstream"` NextUpstreamTimeout int `json:"nextUpstreamTimeout"` NextUpstreamTries int `json:"nextUpstreamTries"` ProxyRedirectFrom string `json:"proxyRedirectFrom"` ProxyRedirectTo string `json:"proxyRedirectTo"` RequestBuffering string `json:"requestBuffering"` ProxyBuffering string `json:"proxyBuffering"` ProxyHTTPVersion string `json:"proxyHTTPVersion"` ProxyMaxTempFileSize string `json:"proxyMaxTempFileSize"` }
Config returns the proxy timeout to use in the upstream server/s
Click to show internal directories.
Click to hide internal directories.