Documentation ¶
Index ¶
- func ETCDKeyPrefix() string
- func Load()
- func LogLevel() string
- func NewETCDClient() (etcd.Client, error)
- func NewRelicConfig() newrelic.Config
- func ProxyServerAddress() string
- func SentryDSN() string
- func ServerReadTimeoutInMillis() time.Duration
- func ServerWriteTimeoutInMillis() time.Duration
- type Config
- type ProxyConfig
- type StatsDConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ETCDKeyPrefix ¶
func ETCDKeyPrefix() string
func NewETCDClient ¶
func NewRelicConfig ¶
func ProxyServerAddress ¶
func ProxyServerAddress() string
Types ¶
type ProxyConfig ¶
type ProxyConfig struct {
// contains filtered or unexported fields
}
func Proxy ¶
func Proxy() ProxyConfig
func (ProxyConfig) KeepAliveEnabled ¶
func (pc ProxyConfig) KeepAliveEnabled() bool
func (ProxyConfig) ProxyDialerKeepAliveInMS ¶
func (pc ProxyConfig) ProxyDialerKeepAliveInMS() time.Duration
func (ProxyConfig) ProxyDialerTimeoutInMS ¶
func (pc ProxyConfig) ProxyDialerTimeoutInMS() time.Duration
func (ProxyConfig) ProxyIdleConnTimeoutInMS ¶
func (pc ProxyConfig) ProxyIdleConnTimeoutInMS() time.Duration
func (ProxyConfig) ProxyMaxIdleConns ¶
func (pc ProxyConfig) ProxyMaxIdleConns() int
type StatsDConfig ¶
type StatsDConfig struct {
// contains filtered or unexported fields
}
func StatsD ¶
func StatsD() StatsDConfig
func (StatsDConfig) Enabled ¶
func (sdc StatsDConfig) Enabled() bool
func (StatsDConfig) FlushPeriodInSeconds ¶
func (sdc StatsDConfig) FlushPeriodInSeconds() int
func (StatsDConfig) Host ¶
func (sdc StatsDConfig) Host() string
func (StatsDConfig) Port ¶
func (sdc StatsDConfig) Port() int
func (StatsDConfig) Prefix ¶
func (sdc StatsDConfig) Prefix() string
Click to show internal directories.
Click to hide internal directories.