Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalIP ¶ added in v1.0.6
LocalIP tries to determine a non-loopback address for the local machine
func LocalIPString ¶ added in v1.0.6
func LocalIPString() string
Types ¶
type CertSource ¶ added in v1.2.1
type Config ¶
type FlagSet ¶ added in v1.2.1
-- FlagSet
func NewFlagSet ¶ added in v1.2.1
func NewFlagSet(name string, errorHandling flag.ErrorHandling) *FlagSet
func (*FlagSet) ParseFlags ¶ added in v1.2.1
func (f *FlagSet) ParseFlags(args, environ, prefixes []string, p *properties.Properties) error
ParseFlags parses command line arguments and provides fallback values from environment variables and config file values. Environment variables are case-insensitive and can have either of the provided prefixes.
type Proxy ¶
type Proxy struct { Strategy string Matcher string NoRouteStatus int MaxConn int ShutdownWait time.Duration DialTimeout time.Duration ResponseHeaderTimeout time.Duration KeepAliveTimeout time.Duration FlushInterval time.Duration LocalIP string ClientIPHeader string TLSHeader string TLSHeaderValue string GZIPContentTypes *regexp.Regexp RequestID string }
Click to show internal directories.
Click to hide internal directories.