Documentation
¶
Index ¶
- func LocalIP() (net.IP, error)
- func LocalIPString() string
- type AuthScheme
- type BGP
- type BGPPeer
- type BasicAuth
- type CertSource
- type Circonus
- type Config
- type Consul
- type ConsulTlS
- type Custom
- type File
- type FlagSet
- func (f *FlagSet) FloatSliceVar(p *[]float64, name string, value []float64, usage string)
- func (f *FlagSet) IsSet(name string) bool
- func (f *FlagSet) ParseFlags(args, environ, prefixes []string, p *properties.Properties) error
- func (f *FlagSet) StringSliceVar(p *[]string, name string, value []string, usage string)
- type Listen
- type Log
- type Metrics
- type Prometheus
- type Proxy
- type Registry
- type RoutingTable
- type Runtime
- type STSHeader
- type Source
- type Static
- type Tracing
- type UI
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 AuthScheme ¶ added in v1.5.11
type CertSource ¶ added in v1.2.1
type Config ¶
type Consul ¶
type Consul struct { Addr string Scheme string Token string KVPath string NoRouteHTMLPath string TagPrefix string Register bool ServiceAddr string ServiceName string ServiceTags []string ServiceStatus []string CheckInterval time.Duration CheckTimeout time.Duration CheckScheme string CheckTLSSkipVerify bool ChecksRequired string ServiceMonitors int TLS ConsulTlS PollInterval time.Duration RequireConsistent bool AllowStale bool }
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) FloatSliceVar ¶ added in v1.6.0
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 Prometheus ¶ added in v1.6.0
type Proxy ¶
type Proxy struct { Strategy string Matcher string NoRouteStatus int MaxConn int ShutdownWait time.Duration DeregisterGracePeriod time.Duration DialTimeout time.Duration ResponseHeaderTimeout time.Duration KeepAliveTimeout time.Duration IdleConnTimeout time.Duration FlushInterval time.Duration GlobalFlushInterval time.Duration LocalIP string ClientIPHeader string TLSHeader string TLSHeaderValue string GZIPContentTypes *regexp.Regexp RequestID string STSHeader STSHeader AuthSchemes map[string]AuthScheme GRPCMaxRxMsgSize int GRPCMaxTxMsgSize int GRPCGShutdownTimeout time.Duration }
type RoutingTable ¶ added in v1.6.3
type RoutingTable struct {
Source Source
}
Click to show internal directories.
Click to hide internal directories.