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 )
View Source
var ConfigEnvKeys = []string{ EnableMonitoringEnvKey, MonitoringPeriodEnvKey, ShowDebugLogEnvKey, ConfigServerEnvKey, EnableAdaptiveEnvKey, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.