kungfuconfig

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnRetryCount  = 500
	ConnRetryPeriod = 200 * time.Millisecond
)
View Source
const (
	EnableMonitoringEnvKey = `KUNGFU_CONFIG_ENABLE_MONITORING`
	MonitoringPeriodEnvKey = `KUNGFU_CONFIG_MONITORING_PERIOD`
	ShowDebugLogEnvKey     = `KUNGFU_CONFIG_SHOW_DEBUG_LOG`
	ConfigServerEnvKey     = `KUNGFU_CONFIG_SERVER`
	EnableAdaptiveEnvKey   = `KUNGFU_CONFIG_ENABLE_ADAPTIVE`
)
View Source
const (
	UseUnixSock = true
)

Variables

View Source
var (
	EnableMonitoring = false
	ShowDebugLog     = false
	EnableAdaptive   = false
	MonitoringPeriod = 1 * time.Second
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL