Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const ProxyHaproxy + const ProxyHaproxyDefaultBinPath + const ProxyHaproxyDefaultCfgPath + const ProxyNginx + const ProxyNginxDefaultBinPath + const ProxyNginxDefaultCfgPath + type LBConfig struct + BcsZkAddr string + BinPath string + CfgBackupDir string + CfgCheckPeriod int + CfgPath string + ClusterID string + ClusterZk string + GeneratingDir string + Group string + MetricPort int + Name string + Proxy string + StatusFetchPeriod int + SyncPeriod int + TemplateDir string + WatchPath string + Zookeeper string + func NewConfig() *LBConfig + func (c *LBConfig) Parse() error